line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#<<< |
2
|
4
|
|
|
4
|
|
333658
|
use strict; use warnings; |
|
4
|
|
|
4
|
|
11
|
|
|
4
|
|
|
|
|
122
|
|
|
4
|
|
|
|
|
27
|
|
|
4
|
|
|
|
|
12
|
|
|
4
|
|
|
|
|
262
|
|
3
|
|
|
|
|
|
|
#>>> |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package MooX::Role::HasLogger::Types; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = '0.001002'; |
8
|
|
|
|
|
|
|
|
9
|
4
|
|
|
4
|
|
1194
|
use Type::Library -base, -declare => qw( Logger ); |
|
4
|
|
|
|
|
77886
|
|
|
4
|
|
|
|
|
31
|
|
10
|
4
|
|
|
4
|
|
3397
|
use Types::Standard qw( HasMethods ); |
|
4
|
|
|
|
|
133841
|
|
|
4
|
|
|
|
|
38
|
|
11
|
4
|
|
|
4
|
|
11800
|
use Type::Utils qw( declare as ); |
|
4
|
|
|
|
|
33799
|
|
|
4
|
|
|
|
|
42
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
declare 'Logger', |
14
|
|
|
|
|
|
|
as HasMethods [ qw( is_trace trace is_debug debug is_info info is_warn warn is_error error is_fatal fatal ) ]; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
1; |