CTKlib
view release on metacpan or search on metacpan
lib/CTK/Log.pm view on Meta::CPAN
level => CTK::Log::LOG_INFO,
ident => "ident string",
);
$logger->log( CTK::Log::LOG_INFO, " ... Blah-Blah-Blah ... " );
$logger->log_except( "..." ); # 9 exception, aborts program!
$logger->log_fatal( "..." ); # 8 system unusable, aborts program!
$logger->log_emerg( "..." ); # 7 system is unusable
$logger->log_alert( "..." ); # 6 failure in primary system
$logger->log_crit( "..." ); # 5 failure in backup system
$logger->log_error( "..." ); # 4 non-urgent program errors, a bug
$logger->log_warning( "..." ); # 3 possible problem, not necessarily error
$logger->log_notice( "..." ); # 2 unusual conditions
$logger->log_info( "..." ); # 1 normal messages, no action required
$logger->log_debug( "..." ); # 0 debugging messages (default)
=head1 DESCRIPTION
Logger class
Log level overview:
LVL SLL NAME ALIAS NOTE
0 7 debug debugging messages, copious tracing output
1 6 info normal messages, no action required
2 5 notice note unusual conditions
3 4 warning warn possible problem, not necessarily error
4 3 error err non-urgent program errors, a bug
5 2 critical crit failure in backup system
6 1 alert failure in primary system
7 0 emergency emerg system unusable
8 0 fatal system unusable, aborts program!
9 0 exception except exception, aborts program!
* SLL -- SysLog Level
=head1 METHODS
=head2 new
( run in 1.186 second using v1.01-cache-2.11-cpan-49f99fa48dc )