| 1 | package glog; | ||
| 2 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | ▶ | use Exporter qw(import); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 1 | ▶ | use POSIX qw(strftime); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 1 | ▶ | use Test::More; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 1 | ▶ | use glog::logger; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 1 | our $VERSION = '1.0.5'; | |
| 10 | 1 | our @EXPORT = qw(Logger LogLevel Log LogFormat LogF LogFile LogDie LogWarn LogInfo LogDebug LogErr); | |
| 11 | |||
| 12 | 1 | our $GLOG = glog::logger->new; | |
| 13 | |||
| 14 | 0 | ▶ | sub Logger { glog::logger->new } |
|
Subroutine
Logger: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 15 | 6 | ▶ | sub LogLevel { $GLOG->LogLevel(@_); } |
|
Subroutine
LogLevel: called CC=1 SCAR=0.0
Pod
documented
| |||
| 16 | 3 | ▶ | sub Log { $GLOG->Log(@_); } |
|
Subroutine
Log: called CC=1 SCAR=0.0
Pod
documented
| |||
| 17 | 0 | ▶ | sub LogFormat { $GLOG->LogFormat(@_); } |
|
Subroutine
LogFormat: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 18 | 3 | ▶ | sub LogF { $GLOG->LogFormat(@_); } |
|
Subroutine
LogF: called CC=1 SCAR=0.0
Pod
documented
| |||
| 19 | 3 | ▶ | sub LogFile { $GLOG->LogFile(@_); } |
|
Subroutine
LogFile: called CC=1 SCAR=0.0
Pod
documented
| |||
| 20 | 2 | ▶ | sub LogDie { $GLOG->LogDie(@_); } |
|
Subroutine
LogDie: called CC=1 SCAR=0.0
Pod
documented
| |||
| 21 | 2 | ▶ | sub LogWarn { $GLOG->LogWarn(@_); } |
|
Subroutine
LogWarn: called CC=1 SCAR=0.0
Pod
documented
| |||
| 22 | 3 | ▶ | sub LogInfo { $GLOG->LogInfo(@_); } |
|
Subroutine
LogInfo: called CC=1 SCAR=0.0
Pod
documented
| |||
| 23 | 2 | ▶ | sub LogDebug { $GLOG->LogDebug(@_); } |
|
Subroutine
LogDebug: called CC=1 SCAR=0.0
Pod
documented
| |||
| 24 | 2 | ▶ | sub LogErr { $GLOG->LogErr(@_); } |
|
Subroutine
LogErr: called CC=1 SCAR=0.0
Pod
documented
| |||
| 25 | |||
| 26 | 1 | 1; | |