File Coverage

blib/lib/Log/ger/Layout.pm
Criterion Covered Total %
statement 3 4 75.0
branch n/a
condition n/a
subroutine 1 2 50.0
pod n/a
total 4 6 66.6


line stmt bran cond sub pod time code
1             ## no critic: TestingAndDebugging::RequireUseStrict
2             package Log::ger::Layout;
3              
4             our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
5             our $DATE = '2023-12-29'; # DATE
6             our $DIST = 'Log-ger'; # DIST
7             our $VERSION = '0.042'; # VERSION
8              
9 1     1   315670 use parent qw(Log::ger::Plugin);
  1         2  
  1         11  
10              
11             # we only use one layout, so set() should replace all hooks from previously set
12             # plugin package
13 0     0     sub _replace_package_regex { qr/\ALog::ger::Layout::/ }
14              
15             1;
16             # ABSTRACT: Use a layout plugin
17              
18             __END__