line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
5
|
|
|
5
|
|
15652
|
use v5.14.0; |
|
5
|
|
|
|
|
11
|
|
|
5
|
|
|
|
|
152
|
|
2
|
5
|
|
|
5
|
|
19
|
use warnings; |
|
5
|
|
|
|
|
5
|
|
|
5
|
|
|
|
|
158
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
package OS::Package::Log; |
5
|
|
|
|
|
|
|
|
6
|
5
|
|
|
5
|
|
1397
|
use File::ShareDir qw(dist_file); |
|
5
|
|
|
|
|
15751
|
|
|
5
|
|
|
|
|
280
|
|
7
|
5
|
|
|
5
|
|
27
|
use base qw(Exporter); |
|
5
|
|
|
|
|
6
|
|
|
5
|
|
|
|
|
418
|
|
8
|
5
|
|
|
5
|
|
4001
|
use Log::Log4perl; |
|
5
|
|
|
|
|
190845
|
|
|
5
|
|
|
|
|
33
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
# ABSTRACT: Load OS::Package LOGGER object. |
11
|
|
|
|
|
|
|
our $VERSION = '0.2.7'; # VERSION |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
our @EXPORT = qw( $LOGGER ); |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
Log::Log4perl::init_once( dist_file( 'OS-Package', 'log.conf' ) ); |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
our $LOGGER = Log::Log4perl->get_logger('ospkg'); |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
1; |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
__END__ |