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.005';
3 9     9   2014593 use strict;
  9         67  
  9         275  
4 9     9   46 use warnings;
  9         15  
  9         231  
5              
6             # ABSTRACT: a basic logger implemented in XS
7              
8 9     9   44 use XSLoader ();
  9         16  
  9         124  
9 9     9   43 use Exporter ();
  9         15  
  9         843  
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__