| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package glog; |
|
2
|
1
|
|
|
1
|
|
93097
|
use strict; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
28
|
|
|
3
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
|
1
|
|
|
|
|
1
|
|
|
|
1
|
|
|
|
|
71
|
|
|
4
|
1
|
|
|
1
|
|
5
|
use Exporter qw(import); |
|
|
1
|
|
|
|
|
1
|
|
|
|
1
|
|
|
|
|
23
|
|
|
5
|
1
|
|
|
1
|
|
3
|
use POSIX qw(strftime); |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
5
|
|
|
6
|
1
|
|
|
1
|
|
48
|
use Test::More; |
|
|
1
|
|
|
|
|
1
|
|
|
|
1
|
|
|
|
|
14
|
|
|
7
|
1
|
|
|
1
|
|
760
|
use glog::logger; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
189
|
|
|
8
|
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
our $VERSION = '1.0.5'; |
|
10
|
|
|
|
|
|
|
our @EXPORT = qw(Logger LogLevel Log LogFormat LogF LogFile LogDie LogWarn LogInfo LogDebug LogErr); |
|
11
|
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
our $GLOG = glog::logger->new; |
|
13
|
|
|
|
|
|
|
|
|
14
|
0
|
|
|
0
|
0
|
0
|
sub Logger { glog::logger->new } |
|
15
|
6
|
|
|
6
|
1
|
184398
|
sub LogLevel { $GLOG->LogLevel(@_); } |
|
16
|
3
|
|
|
3
|
1
|
631
|
sub Log { $GLOG->Log(@_); } |
|
17
|
0
|
|
|
0
|
1
|
0
|
sub LogFormat { $GLOG->LogFormat(@_); } |
|
18
|
3
|
|
|
3
|
1
|
2400
|
sub LogF { $GLOG->LogFormat(@_); } |
|
19
|
3
|
|
|
3
|
1
|
8415
|
sub LogFile { $GLOG->LogFile(@_); } |
|
20
|
2
|
|
|
2
|
1
|
6495
|
sub LogDie { $GLOG->LogDie(@_); } |
|
21
|
2
|
|
|
2
|
1
|
2238
|
sub LogWarn { $GLOG->LogWarn(@_); } |
|
22
|
3
|
|
|
3
|
1
|
2262
|
sub LogInfo { $GLOG->LogInfo(@_); } |
|
23
|
2
|
|
|
2
|
1
|
1136
|
sub LogDebug { $GLOG->LogDebug(@_); } |
|
24
|
2
|
|
|
2
|
1
|
18
|
sub LogErr { $GLOG->LogErr(@_); } |
|
25
|
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
1; |