OW_NAMESPACE::NullLogger Class Reference

This logger just discards all log messages. More...

#include <OW_NullLogger.hpp>

Inheritance diagram for OW_NAMESPACE::NullLogger:

Inheritance graph
[legend]
Collaboration diagram for OW_NAMESPACE::NullLogger:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Detailed Description

This logger just discards all log messages.

Definition at line 46 of file OW_NullLogger.hpp.


Constructor & Destructor Documentation

OW_NAMESPACE::NullLogger::NullLogger  ) 
 

Definition at line 44 of file OW_NullLogger.cpp.

Referenced by doClone().


Member Function Documentation

LoggerRef OW_NAMESPACE::NullLogger::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 OW_NAMESPACE::Logger.

Definition at line 57 of file OW_NullLogger.cpp.

References NullLogger().

void OW_NAMESPACE::NullLogger::doProcessLogMessage const LogMessage  )  const [virtual]
 

Output the message.

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

Implements OW_NAMESPACE::Logger.

Definition at line 51 of file OW_NullLogger.cpp.


The documentation for this class was generated from the following files:
Generated on Thu Feb 9 09:14:07 2006 for openwbem by  doxygen 1.4.6