xDash::Logger::Dumb - Base class for EventLogger, ErrorLogger, MessageLogger and EmergencyLogger


xDash documentation  | view source Contained in the xDash distribution.

Index


NAME

Top

xDash::Logger::Dumb - Base class for EventLogger, ErrorLogger, MessageLogger and EmergencyLogger

SYNOPSIS

Top

 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

Top

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

Top

Any suggestions for improvement are welcomed!

If a bug is detected or nonconforming behavior, please send an error report to <jwach@cpan.org>.

COPYRIGHT

Top

SEE ALSO

Top

xDash::Sender
xDash::Receiver
xDash::Archivist

xDash documentation  | view source Contained in the xDash distribution.