NAME
xDash::Logger::Dumb - Base class for EventLogger, ErrorLogger, MessageLogger and EmergencyLogger
SYNOPSIS
package MessageLogger;
# Uncomment the 1.line and comment out 2.line & 3.line below after debugging.
use base xDash::Logger::Dumb;
#use base xDash::Logger::File;
#sub Open { shift->SUPER::Open( STDOUT ) }
DESCRIPTION
The module is developed in the object orientated way. It can be used as the base class for logging tasks, which have to implement a fixed set of methods called by the derived class EventLogger
, ErrorLogger
, MessageLogger
and EmergencyLogger
hard coded in xDash::Sender
, xDash::Receiver
and xDash::Archivist
(driver pattern). By deriving from the class, you have not to implement explicit any methods as nothing should be logged (dumb logger). The synopsis above is an example of the client script generated by the xdscr after debugging.
BUGS
Any suggestions for improvement are welcomed!
If a bug is detected or nonconforming behavior, please send an error report to <jwach@cpan.org>.
COPYRIGHT
Copyright 2005 Jerzy Wachowiak <jwach@cpan.org>
This library is free software; you can redistribute it and/or modify it under the terms of the Apache 2.0 license attached to the module.