YaSTLogger Class Reference

List of all members.

Public Member Functions

virtual ~YaSTLogger ()
 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

virtual YaSTLogger::~YaSTLogger (  )  [inline, virtual]

YaSTLogger::YaSTLogger (  )  [inline]

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

Referenced by doClone().


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.

References YaSTLogger().

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

References LOG_DEBUG, LOG_ERROR, LOG_MILESTONE, LOG_WARNING, and y2_logger.


The documentation for this class was generated from the following file:

Generated on a sunny day for yast2-core by doxygen 1.5.9