NAME

CTK::Log - CTK Logging methods

VERSION

1.00

$Id: Log.pm 58 2012-12-26 10:45:15Z minus $

SYNOPSIS

$c = new CTK (
        loglevel     => 'info', # or '1'
        logfile      => CTK::catfile($LOGDIR,'foo.log'),
        logseparator => " ", # as default
    );
    
$c->log( INFO => " ... Blah-Blah-Blah ... " );

$c->log_ecept()   # 9 exception (catalyst)
$c->log_fatal()   # 8 fatal (catalyst)
$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)

DESCRIPTION

All of methods are returned by log-records

AUTHOR

Serz Minus (Lepenkov Sergey) http://serzik.ru <minus@mail333.com>

COPYRIGHT

Copyright (C) 1998-2012 D&D Corporation. All Rights Reserved

LICENSE

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