artefaktur
software engineer &        architecture

 
 
 
 

class AbstractLogConsumer

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

acdk::util::logging::AbstractLogConsumer Class Reference

#include <AbstractLogConsumer.h>

Inheritance diagram for acdk::util::logging::AbstractLogConsumer:

acdk::lang::Object acdk::util::logging::LogConsumer acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch 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

Abstract/incomplete implementation of the LogConsumer interface.


Public Member Functions

 AbstractLogConsumer (IN(RFormatter) formatter=Nil, int minll=AllSys, int maxll=None)
virtual void configure (IN(RString) propnameprefix, IN(RProperties) props)
 Will be called by the LogManager to self-configuration this LogConsumer.

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

virtual int getMinLevel ()
virtual void setMinLevel (int mn)
virtual int getMaxLevel ()
virtual void setMaxLevel (int mn)
RFormatter getFormatter ()
void setFormatter (INP(RFormatter) formatter)
bool wantPublish (IN(RLogRecord) rec)

Protected Attributes

RFormatter _formatter
int minLogLevel
int maxLogLevel

Constructor & Destructor Documentation

acdk::util::logging::AbstractLogConsumer::AbstractLogConsumer IN(RFormatter formatter = Nil,
int  minll = AllSys,
int  maxll = None
[inline]
 


Member Function Documentation

virtual void acdk::util::logging::AbstractLogConsumer::configure IN(RString propnameprefix,
IN(RProperties props
[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

Implements acdk::util::logging::LogConsumer.

Reimplemented in acdk::util::logging::ConsoleConsumer, acdk::util::logging::FileConsumer, and acdk::util::logging::RollingFileConsumer.

RFormatter acdk::util::logging::AbstractLogConsumer::getFormatter  )  [inline, virtual]
 

Implements acdk::util::logging::LogConsumer.

virtual int acdk::util::logging::AbstractLogConsumer::getMaxLevel  )  [inline, virtual]
 

Implements acdk::util::logging::LogConsumer.

virtual int acdk::util::logging::AbstractLogConsumer::getMinLevel  )  [inline, virtual]
 

Implements acdk::util::logging::LogConsumer.

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

Process the LogRecord.

Implements acdk::util::logging::LogConsumer.

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

void acdk::util::logging::AbstractLogConsumer::setFormatter INP(RFormatter formatter  )  [inline, virtual]
 

Implements acdk::util::logging::LogConsumer.

virtual void acdk::util::logging::AbstractLogConsumer::setMaxLevel int  mn  )  [inline, virtual]
 

Implements acdk::util::logging::LogConsumer.

virtual void acdk::util::logging::AbstractLogConsumer::setMinLevel int  mn  )  [inline, virtual]
 

Implements acdk::util::logging::LogConsumer.

bool acdk::util::logging::AbstractLogConsumer::wantPublish IN(RLogRecord rec  )  [inline]
 


Member Data Documentation

RFormatter acdk::util::logging::AbstractLogConsumer::_formatter [protected]
 

int acdk::util::logging::AbstractLogConsumer::maxLogLevel [protected]
 

int acdk::util::logging::AbstractLogConsumer::minLogLevel [protected]
 

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