| 1 | package OrePAN2::Logger; | ||
| 2 | |||
| 3 | 22 | ▶ | use Moo; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | # trace | ||
| 6 | # debug | ||
| 7 | # info (inform) | ||
| 8 | 3 | ▶ | sub info { print STDERR "[INFO] $_[1]\n" } |
|
Subroutine
info: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 9 | |||
| 10 | # notice | ||
| 11 | # warning (warn) | ||
| 12 | 1 | ▶ | sub warn { print STDERR "[WARN] $_[1]\n" } |
|
Subroutine
warn: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 13 | |||
| 14 | # error (err) | ||
| 15 | # critical (crit, fatal) | ||
| 16 | # alert | ||
| 17 | # emergency | ||
| 18 | |||
| 19 | 22 | 1; | |