CTK::Log - CTK Logging methods
Version 2.59
$Revision: 180 $
$c = new CTK ( loglevel => 'info', # or '1' logfile => CTK::catfile($LOGDIR,'foo.log'), logseparator => " ", # as default ); $c->log( INFO => " ... Blah-Blah-Blah ... " ); $c->log_except() # 9 exception $c->log_fatal() # 8 fatal $c->log_emerg() # 7 system is unusable $c->log_alert() # 6 action must be taken immediately $c->log_crit() # 5 critical conditions $c->log_error() # 4 error conditions $c->log_warning() # 3 warning conditions $c->log_notice() # 2 normal but significant condition $c->log_info() # 1 informational $c->log_debug() # 0 debug-level messages (default)
All of methods are returned by log-records
Serz Minus (Lepenkov Sergey) http://www.serzik.com <minus@mail333.com>
Copyright (C) 1998-2014 D&D Corporation. All Rights Reserved
This program is free software; you can redistribute it and/or modify it under the same terms and conditions as Perl itself.
This program is distributed under the GNU LGPL v3 (GNU Lesser General Public License version 3).
See LICENSE file
LICENSE
To install CTK, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CTK
CPAN shell
perl -MCPAN -e shell install CTK
For more information on module installation, please visit the detailed CPAN module installation guide.