| 1 | package Log::Log4perl::Layout; | ||||||||||
| 2 | |||||||||||
| 3 | |||||||||||
| 4 | 54 | ▶ | use Log::Log4perl::Layout::SimpleLayout; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | 54 | ▶ | use Log::Log4perl::Layout::PatternLayout; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | 54 | ▶ | use Log::Log4perl::Layout::PatternLayout::Multiline; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | |||||||||||
| 8 | |||||||||||
| 9 | #################################################### | ||||||||||
| 10 | 0 | ▶ | sub appender_name { | ||||||||
|
Subroutine
appender_name: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||
| 11 | #################################################### | ||||||||||
| 12 | 0 | my ($self, $arg) = @_; | |||||||||
| 13 | |||||||||||
| 14 | 0 | ▶ | if ($arg) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 15 | 0 | die "setting appender_name unimplemented until it makes sense"; | |||||||||
| 16 | } | ||||||||||
| 17 | 0 | return $self->{appender_name}; | |||||||||
| 18 | } | ||||||||||
| 19 | |||||||||||
| 20 | |||||||||||
| 21 | ################################################## | ||||||||||
| 22 | 0 | ▶ | sub define { | ||||||||
|
Subroutine
define: not called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 23 | ################################################## | ||||||||||
| 24 | ; #subclasses may implement | ||||||||||
| 25 | } | ||||||||||
| 26 | |||||||||||
| 27 | |||||||||||
| 28 | ################################################## | ||||||||||
| 29 | 0 | ▶ | sub render { | ||||||||
|
Subroutine
render: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 30 | ################################################## | ||||||||||
| 31 | 0 | die "subclass must implement render"; | |||||||||
| 32 | } | ||||||||||
| 33 | |||||||||||
| 34 | 54 | 1; | |||||||||
| 35 | |||||||||||
| 36 | __END__ | ||||||||||