line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Log::ger::Format::None; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY |
4
|
|
|
|
|
|
|
our $DATE = '2021-01-31'; # DATE |
5
|
|
|
|
|
|
|
our $DIST = 'Log-ger'; # DIST |
6
|
|
|
|
|
|
|
our $VERSION = '0.038'; # VERSION |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub meta { +{ |
9
|
1
|
|
|
1
|
0
|
3
|
v => 2, |
10
|
|
|
|
|
|
|
} } |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub get_hooks { |
13
|
|
|
|
|
|
|
return { |
14
|
|
|
|
|
|
|
create_formatter => [ |
15
|
|
|
|
|
|
|
__PACKAGE__, # key |
16
|
|
|
|
|
|
|
50, # priority |
17
|
|
|
|
|
|
|
sub { # hook |
18
|
3
|
|
|
3
|
|
10
|
my %hook_args = @_; # see Log::ger::Manual::Internals/"Arguments passed to hook" |
19
|
3
|
|
|
|
|
12
|
my $formatter = sub { shift }; |
|
1
|
|
|
|
|
3
|
|
20
|
3
|
|
|
|
|
9
|
[$formatter]; |
21
|
1
|
|
|
1
|
0
|
7
|
}], |
22
|
|
|
|
|
|
|
}; |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
1; |
26
|
|
|
|
|
|
|
# ABSTRACT: Perform no formatting on the message |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
__END__ |