NAME
WebSource::Logger : WebSource logging module
DESCRIPTION
Configurable logging module
SYNOPSIS
use WebSource::Logger(level => $loglevel);
my $logger->log($level,$message);
METHODS
- $logger = WebSource::Logger->new( level => $loglevel )
-
Create a new logging object
- $logger->log($level,$message);
-
Log $message if the current log level is superior or equal to $level
- $logger->will_log($level);
-
Check if a message logged at level
$level
will be logged or not. This is typically to prevent processing in preperation for loggin data.
SEE ALSO
WebSource
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 61:
You forgot a '=back' before '=head1'