blib/lib/Log/Any/Adapter/Sentry/Raven.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 17 | 20 | 85.0 |
line | true | false | branch |
---|---|---|---|
70 | 2 | 5 | unless &blessed($sentry) and $sentry->isa('Sentry::Raven') |
74 | 3 | 2 | if (exists $self->{'log_level'} and $self->{'log_level'} =~ /\D/) |
76 | 1 | 2 | unless (defined $numeric_level) |
81 | 2 | 3 | if (not defined $self->{'log_level'}) |
90 | 0 | 5 | unless $self->$is_level |
93 | 1 | 4 | if (ref $log_args[-1] eq 'HASH') |
102 | 5 | 0 | unless s/trace/debug/ or s/notice/info/ |
113 | 5 | 0 | if ($stack_trace) |
134 | 4 | 1 | if (@message_parts == 1) |
137 | 4 | 1 | unless (&blessed($trace) and $trace->isa('Devel::StackTrace')) |