Branch Coverage

blib/lib/Log/Contextual/Router.pm
Criterion Covered Total %
branch 24 30 80.0


line true false branch
45 7 24 if (my $l = $exporter->arg_logger($config->{'logger'}))
49 3 28 if (my $l = $exporter->arg_package_logger($config->{'package_logger'}))
53 4 27 if (my $l = $exporter->arg_default_logger($config->{'default_logger'}))
60 3 1 if (ref $logger ne 'CODE')
61 0 3 unless &blessed($logger)
74 13 6 if (ref $logger ne 'CODE')
75 0 13 unless &blessed($logger)
84 3 16 if $_[0]->_get_logger->{'l'}
92 4 0 if (ref $logger ne 'CODE')
93 0 4 unless &blessed($logger)
105 3 0 if (ref $logger ne 'CODE')
106 0 3 unless &blessed($logger)
130 163 45 if $logger->${\"is_$log_level";}
143 45 163 unless my(@loggers) = $self->get_loggers(%message_info)
146 12 151 defined $text ? :