artefaktur
software engineer &        architecture

 
 
 
 

class LogConsumer

Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::util::logging::LogConsumer Class Reference

#include <LogConsumer.h>

Inheritance diagram for acdk::util::logging::LogConsumer:

acdk::util::logging::AbstractLogConsumer acdk::util::logging::ConsoleConsumer acdk::util::logging::FileConsumer acdk::util::logging::MsgBoxConsumer acdk::util::logging::TransactionConsumer acdk::util::logging::WriterConsumer acdk::util::logging::RollingFileConsumer acdk::util::logging::Win32DbgConsumer List of all members.

Detailed Description

same role as java.util.logging.Handler or org.apache.log4j.Appender


Public Member Functions

virtual int getMinLevel ()=0
virtual void setMinLevel (int mn)=0
virtual int getMaxLevel ()=0
virtual void setMaxLevel (int mn)=0
virtual RFormatter getFormatter ()=0
virtual void setFormatter (INP(RFormatter) formatter)=0
virtual void configure (IN(RString) propnameprefix, IN(RProperties) props)=0
 Will be called by the LogManager to self-configuration this LogConsumer.

virtual void publish (IN(RLogRecord) rec)=0
 Process the LogRecord.


Member Function Documentation

virtual void acdk::util::logging::LogConsumer::configure IN(RString propnameprefix,
IN(RProperties props
[pure virtual]
 

Will be called by the LogManager to self-configuration this LogConsumer.

To access a custom configure value 'foo' just read it with the the prefix propnameprefix + foo

Implemented in acdk::util::logging::AbstractLogConsumer, acdk::util::logging::ConsoleConsumer, acdk::util::logging::FileConsumer, and acdk::util::logging::RollingFileConsumer.

virtual RFormatter acdk::util::logging::LogConsumer::getFormatter  )  [pure virtual]
 

Implemented in acdk::util::logging::AbstractLogConsumer.

virtual int acdk::util::logging::LogConsumer::getMaxLevel  )  [pure virtual]
 

Implemented in acdk::util::logging::AbstractLogConsumer.

virtual int acdk::util::logging::LogConsumer::getMinLevel  )  [pure virtual]
 

Implemented in acdk::util::logging::AbstractLogConsumer.

virtual void acdk::util::logging::LogConsumer::publish IN(RLogRecord rec  )  [pure virtual]
 

Process the LogRecord.

Implemented in acdk::util::logging::AbstractLogConsumer, acdk::util::logging::ConsoleConsumer, and acdk::util::logging::TransactionConsumer.

virtual void acdk::util::logging::LogConsumer::setFormatter INP(RFormatter formatter  )  [pure virtual]
 

Implemented in acdk::util::logging::AbstractLogConsumer.

virtual void acdk::util::logging::LogConsumer::setMaxLevel int  mn  )  [pure virtual]
 

Implemented in acdk::util::logging::AbstractLogConsumer.

virtual void acdk::util::logging::LogConsumer::setMinLevel int  mn  )  [pure virtual]
 

Implemented in acdk::util::logging::AbstractLogConsumer.

 
Last modified 2005-05-08 18:33 by SYSTEM By Artefaktur, Ing. Bureau Kommer