Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

BLOCXX_NAMESPACE::CerrLogger Class Reference

The CerrLogger is a Logger derivative that sends log message to stderr. More...

#include <CerrLogger.hpp>

Inheritance diagram for BLOCXX_NAMESPACE::CerrLogger:

Inheritance graph
[legend]
Collaboration diagram for BLOCXX_NAMESPACE::CerrLogger:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CerrLogger ()
virtual void doProcessLogMessage (const LogMessage &) const
 Output the message.
virtual LoggerRef doClone () const
 Make a copy of the derived instance.

Detailed Description

The CerrLogger is a Logger derivative that sends log message to stderr.

Definition at line 51 of file CerrLogger.hpp.


Constructor & Destructor Documentation

BLOCXX_NAMESPACE::CerrLogger::CerrLogger  ) 
 

Definition at line 49 of file CerrLogger.cpp.

Referenced by doClone().


Member Function Documentation

LoggerRef BLOCXX_NAMESPACE::CerrLogger::doClone  )  const [virtual]
 

Make a copy of the derived instance.

Provided the derived class has a suitable copy constructor, an implementation of clone should simply be: LoggerRef DerivedLogger::doClone() const { return LoggerRef(new DerivedLogger(*this)); }

Implements BLOCXX_NAMESPACE::Logger.

Definition at line 69 of file CerrLogger.cpp.

References CerrLogger().

void BLOCXX_NAMESPACE::CerrLogger::doProcessLogMessage const LogMessage  )  const [virtual]
 

Output the message.

Calls will not be serialized, so the derived class' implementation must be thread safe.

Implements BLOCXX_NAMESPACE::Logger.

Definition at line 61 of file CerrLogger.cpp.

References BLOCXX_NAMESPACE::guard, and BLOCXX_NAMESPACE::LogMessage::message.


The documentation for this class was generated from the following files:
Generated on Tue Sep 13 00:04:50 2005 for blocxx by  doxygen 1.4.4