line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
## no critic: TestingAndDebugging::RequireUseStrict |
2
|
|
|
|
|
|
|
package Log::ger::Output; |
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY |
5
|
|
|
|
|
|
|
our $DATE = '2022-06-10'; # DATE |
6
|
|
|
|
|
|
|
our $DIST = 'Log-ger'; # DIST |
7
|
|
|
|
|
|
|
our $VERSION = '0.040'; # VERSION |
8
|
|
|
|
|
|
|
|
9
|
8
|
|
|
8
|
|
123031
|
use parent 'Log::ger::Plugin'; |
|
8
|
|
|
|
|
2238
|
|
|
8
|
|
|
|
|
42
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
# we only use one output, so set() should replace all hooks from previously set |
12
|
|
|
|
|
|
|
# plugin package |
13
|
16
|
|
|
16
|
|
80
|
sub _replace_package_regex { qr/\ALog::ger::Output::/ } |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
1; |
16
|
|
|
|
|
|
|
# ABSTRACT: Set logging output |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
__END__ |