File Coverage

blib/lib/XS/Logger.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1             package XS::Logger;
2             $XS::Logger::VERSION = '0.004';
3 8     8   1573138 use strict;
  8         104  
  8         220  
4 8     8   39 use warnings;
  8         19  
  8         196  
5              
6             # ABSTRACT: a basic logger implemented in XS
7              
8 8     8   38 use XSLoader ();
  8         13  
  8         94  
9 8     8   42 use Exporter ();
  8         13  
  8         656  
10              
11             our @ISA = qw(Exporter);
12             our @EXPORT_OK = qw(DEBUG_LOG_LEVEL INFO_LOG_LEVEL WARN_LOG_LEVEL ERROR_LOG_LEVEL FATAL_LOG_LEVEL DISABLE_LOG_LEVEL);
13             our %EXPORT_TAGS = ( all => [@EXPORT_OK] );
14              
15             XSLoader::load(__PACKAGE__);
16              
17             1;
18              
19             __END__