Lepenkov Sergey > CTKlib > CTK::Log

Download:
CTKlib-1.16.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 2.59   Source  

NAME ^

CTK::Log - CTK Logging methods

VERSION ^

Version 2.59

REVISION ^

$Revision: 180 $

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_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)

DESCRIPTION ^

All of methods are returned by log-records

AUTHOR ^

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

COPYRIGHT ^

Copyright (C) 1998-2014 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

syntax highlighting: