RSSCache::Log - Logging interface
#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.");
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.
Constructor.
Puts an error message.
Puts a warning.
Puts an info message.
Puts a notice.
Puts an debug message.
Copyright 2006 Thomas Wittek (mail at gedankenkonstrukt dot de). All rights reserved.
This document is free software. It is distributed under the same terms as Perl itself.