| 1 | package # hide from PAUSE | ||
| 2 | Hopkins::Plugin::HMI::Log; | ||
| 3 | 2 | ▶ | BEGIN { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 2 | $Hopkins::Plugin::HMI::Log::VERSION = '0.900'; | |
| 5 | } | ||
| 6 | |||
| 7 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | =head1 NAME | ||
| 11 | |||
| 12 | Hopkins::Plugin::HMI::Log - log4perl wrapper to appease Catalyst | ||
| 13 | |||
| 14 | =head1 DESCRIPTION | ||
| 15 | |||
| 16 | not a whole lot going on here. just a dumb wrapper around | ||
| 17 | the Hopkins logging in order to interace with Catalyst::Log. | ||
| 18 | |||
| 19 | =cut | ||
| 20 | |||
| 21 | 2 | ▶ | use base 'Class::Accessor::Fast'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 22 | |||
| 23 | 0 | ▶ | sub debug { return Hopkins->get_logger->debug(@_[1..$#_]) } |
|
Subroutine
debug: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 24 | 0 | ▶ | sub info { return Hopkins->get_logger->info(@_[1..$#_]) } |
|
Subroutine
info: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 25 | 0 | ▶ | sub warn { return Hopkins->get_logger->warn(@_[1..$#_]) } |
|
Subroutine
warn: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 26 | 0 | ▶ | sub error { return Hopkins->get_logger->error(@_[1..$#_]) } |
|
Subroutine
error: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 27 | 0 | ▶ | sub fatal { return Hopkins->get_logger->fatal(@_[1..$#_]) } |
|
Subroutine
fatal: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 28 | |||
| 29 | =head1 AUTHOR | ||
| 30 | |||
| 31 | Mike Eldridge <diz@cpan.org> | ||
| 32 | |||
| 33 | =head1 LICENSE | ||
| 34 | |||
| 35 | Copyright (c) 2009 Mike Eldridge. All rights reserved. | ||
| 36 | |||
| 37 | This program is free software; you may redistribute it | ||
| 38 | and/or modify it under the same terms as Perl itself. | ||
| 39 | |||
| 40 | =cut | ||
| 41 | |||
| 42 | 2 | 1; | |
| 43 | |||