NAME

RSSCache::Log - Logging interface

SYNOPSIS

        #usage on startup
        $RSSCache::Log = RSSCache::Log->new();
        
        #usage within your modules
        $RSSCache::Log->debug  (__PACKAGE__."->your_method(): Your message.");
        $RSSCache::Log->notice (__PACKAGE__."->your_method(): Your message.");
        $RSSCache::Log->info   (__PACKAGE__."->your_method(): Your message.");
        $RSSCache::Log->warning(__PACKAGE__."->your_method(): Your message.");
        $RSSCache::Log->error  (__PACKAGE__."->your_method(): Your message.");

DESCRIPTION

This module will offer simple interface to logging of some messages the user might be interested in.

The messages may be colored according to their type and they may be suppressed according to the specified settings.

METHODS

new

Constructor.

error

Puts an error message.

Parameters:

warning

Puts a warning.

Parameters:

info

Puts an info message.

Parameters:

notice

Puts a notice.

Parameters:

debug

Puts an debug message.

Parameters:

AUTHOR

Copyright 2006 Thomas Wittek (mail at gedankenkonstrukt dot de). All rights reserved.

LICENsE

This document is free software. It is distributed under the same terms as Perl itself.

SEE ALSO

RSSCache