Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

Qmms::Log::SMTPAppender Class Reference

Not implemented yet. More...

#include <log.hh>

Inheritance diagram for Qmms::Log::SMTPAppender::

Qmms::Log::AppenderSkeleton Qmms::Log::Appender List of all members.

Public Methods

 SMTPAppender ()
 ~SMTPAppender ()
bool requiresLayout () const
 Subclasses implement this to return the appropriate value depending on whether they require a layout or not. More...

void append (LoggingEvent *evnt)
 Takes a LoggingEvent and writes it in the appropriate fashion. More...

bool checkEntryConditions () const
 Used to check that the appender is ready to append. More...

void subAppend (LoggingEvent *evnt)

Detailed Description

Not implemented yet.

Intended to send logging events to a specified email address.


Constructor & Destructor Documentation

Qmms::Log::SMTPAppender::SMTPAppender  
 

Qmms::Log::SMTPAppender::~SMTPAppender  
 


Member Function Documentation

void Qmms::Log::SMTPAppender::append LoggingEvent   evnt [virtual]
 

Takes a LoggingEvent and writes it in the appropriate fashion.

Subclasses must implement this method in an appender-specific manner.

This method is usually called from doAppend(), because doAppend checks that the threshold (if any) of the appender is not less than the loglevel of the calling category.

Parameters:
evnt  pointer to the LoggingEvent to append

Reimplemented from Qmms::Log::AppenderSkeleton.

bool Qmms::Log::SMTPAppender::checkEntryConditions   const [virtual]
 

Used to check that the appender is ready to append.

Subclasses must implement this method.

Returns:
true if appender is ready, false otherwise

Reimplemented from Qmms::Log::AppenderSkeleton.

bool Qmms::Log::SMTPAppender::requiresLayout   const [virtual]
 

Subclasses implement this to return the appropriate value depending on whether they require a layout or not.

Reimplemented from Qmms::Log::AppenderSkeleton.

void Qmms::Log::SMTPAppender::subAppend LoggingEvent   evnt
 


The documentation for this class was generated from the following file:
Generated on Fri Jan 3 15:04:08 2003 for QmmsLog by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001