| 1 | package # Hide from Pause | ||||||||||
| 2 | MooseX::LogDispatch::ConfigMaker; | ||||||||||
| 3 | |||||||||||
| 4 | |||||||||||
| 5 | 5 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | 5 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | |||||||||||
| 8 | 5 | ▶ | use base qw/Log::Dispatch::Configurator/; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 9 | |||||||||||
| 10 | 4 | ▶ | sub new { bless { default => $_[1] }, $_[0] } | ||||||||
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 11 | |||||||||||
| 12 | 4 | ▶ | sub get_attrs_global { | ||||||||
|
Subroutine
get_attrs_global: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 13 | 4 | return {format => undef, dispatchers => ['default' ] } | |||||||||
| 14 | } | ||||||||||
| 15 | |||||||||||
| 16 | 4 | ▶ | sub get_attrs { | ||||||||
|
Subroutine
get_attrs: called CC=2 SCAR=7.2
Pod
undocumented
| |||||||||||
| 17 | 4 | my ($self, $name) = @_; | |||||||||
| 18 | 4 | ▶ | $self->{$name} || die "invalid dispatcher name: $name"; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 19 | } | ||||||||||
| 20 | |||||||||||
| 21 | 0 | ▶ | sub needs_reload { 0 } | ||||||||
|
Subroutine
needs_reload: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 22 | |||||||||||
| 23 | 5 | 1; | |||||||||