YaSTLogger Class Reference

List of all members.

Public Member Functions

 YaSTLogger ()
virtual void doProcessLogMessage (const blocxx::LogMessage &m) const
virtual blocxx::LoggerRef doClone () const

Detailed Description

The YaST logger for LiMaL framework. It's just a wrapper around the standard YaST logging mechanism.


Constructor & Destructor Documentation

YaSTLogger::YaSTLogger  )  [inline]
 

Constructor. YaST will try to log every message level, because we filter on our own.


Member Function Documentation

virtual blocxx::LoggerRef YaSTLogger::doClone  )  const [inline, virtual]
 

Clone this logger - create a new instance as a copy of this one and return a reference to the instance.

virtual void YaSTLogger::doProcessLogMessage const blocxx::LogMessage &  m  )  const [inline, virtual]
 

The logging message processing. The method converts the Blocxx LogMessage into a YaST logger. Unfortunatelly, the log level can be received only as a string, so we have to do a conversion to loglevel_t used by YaST.

Parameters:
m the message to be logged


The documentation for this class was generated from the following file:
Generated on Fri Jun 16 18:07:46 2006 for yast2-core by  doxygen 1.4.6