line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Log::ger::Output; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY |
4
|
|
|
|
|
|
|
our $DATE = '2020-03-11'; # DATE |
5
|
|
|
|
|
|
|
our $DIST = 'Log-ger'; # DIST |
6
|
|
|
|
|
|
|
our $VERSION = '0.037'; # VERSION |
7
|
|
|
|
|
|
|
|
8
|
8
|
|
|
8
|
|
123673
|
use parent 'Log::ger::Plugin'; |
|
8
|
|
|
|
|
2013
|
|
|
8
|
|
|
|
|
40
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
# we only use one output, so set() should replace all hooks from previously set |
11
|
|
|
|
|
|
|
# plugin package |
12
|
16
|
|
|
16
|
|
63
|
sub _replace_package_regex { qr/\ALog::ger::Output::/ } |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
1; |
15
|
|
|
|
|
|
|
# ABSTRACT: Set logging output |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
__END__ |