| 1 | # | ||
| 2 | # $Id: Log.pm,v 008243d3e89a 2018/07/21 14:54:07 gomor $ | ||
| 3 | # | ||
| 4 | package Net::SinFP3::Log; | ||
| 5 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 1 | ▶ | use base qw(Class::Gomor::Array); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 1 | our @AS = qw( | |
| 10 | global | ||
| 11 | level | ||
| 12 | ); | ||
| 13 | 1 | __PACKAGE__->cgBuildIndices; | |
| 14 | 1 | __PACKAGE__->cgBuildAccessorsScalar(\@AS); | |
| 15 | |||
| 16 | 0 | ▶ | sub new { |
|
Subroutine
new: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 17 | 0 | my $self = shift->SUPER::new( | |
| 18 | level => 0, | ||
| 19 | @_, | ||
| 20 | ); | ||
| 21 | |||
| 22 | 0 | return $self; | |
| 23 | } | ||
| 24 | |||
| 25 | 0 | ▶ | sub init { |
|
Subroutine
init: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 26 | 0 | my $self = shift; | |
| 27 | 0 | return $self; | |
| 28 | } | ||
| 29 | |||
| 30 | 0 | ▶ | sub info { |
|
Subroutine
info: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 31 | 0 | return 'info'; | |
| 32 | } | ||
| 33 | |||
| 34 | 0 | ▶ | sub warning { |
|
Subroutine
warning: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 35 | 0 | return 'warning'; | |
| 36 | } | ||
| 37 | |||
| 38 | 0 | ▶ | sub error { |
|
Subroutine
error: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 39 | 0 | return 'error'; | |
| 40 | } | ||
| 41 | |||
| 42 | 0 | ▶ | sub fatal { |
|
Subroutine
fatal: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 43 | 0 | die("fatal"); | |
| 44 | } | ||
| 45 | |||
| 46 | 0 | ▶ | sub verbose { |
|
Subroutine
verbose: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 47 | 0 | return 'verbose'; | |
| 48 | } | ||
| 49 | |||
| 50 | 0 | ▶ | sub debug { |
|
Subroutine
debug: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 51 | 0 | return 'debug'; | |
| 52 | } | ||
| 53 | |||
| 54 | 0 | ▶ | sub post { |
|
Subroutine
post: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 55 | 0 | my $self = shift; | |
| 56 | 0 | return $self; | |
| 57 | } | ||
| 58 | |||
| 59 | 1 | 1; | |
| 60 | |||
| 61 | __END__ | ||