ger/Format/None.pm

filter: Statementstmt 45.4% 5 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 2 totaltotal 29.4% 5 / 17 CC 1 SCAR 6.9
CC
1
Cov
45%
meta
2.0
get_hooks
2.0
__ANON__
2.0
CRAP 2.0
« ger/Output/Null.pm ↑ Summary ger/Layout.pm »
1 ## no critic: TestingAndDebugging::RequireUseStrict
2 package Log::ger::Format::None;
3  
4 1 our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
5 1 our $DATE = '2023-12-29'; # DATE
6 1 our $DIST = 'Log-ger'; # DIST
7 1 our $VERSION = '0.042'; # VERSION
8  
9 0 ▶sub meta { +{
Subroutine meta: not called CC=1 SCAR=6.9
Pod undocumented
10 0 v => 2,
11 } }
12  
13 0 ▶sub get_hooks {
Subroutine get_hooks: not called CC=1 SCAR=6.9
Pod undocumented
14 return {
15 create_formatter => [
16 __PACKAGE__, # key
17 50, # priority
18 0 ▶ sub { # hook
Subroutine __ANON__: not called CC=1 SCAR=6.9
19 0 my %hook_args = @_; # see Log::ger::Manual::Internals/"Arguments passed to hook"
20 0 ▶ my $formatter = sub { shift };
Subroutine __ANON__: not called CC=1 SCAR=6.9
21 0 [$formatter];
22 0 }],
23 };
24 }
25  
26 1 1;
27 # ABSTRACT: Perform no formatting on the message
28  
29 __END__
« ger/Output/Null.pm ↑ Summary ger/Layout.pm »