2005/5/9

     
 

class RollingFileConsumer

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

acdk::util::logging::RollingFileConsumer Class Reference

#include <RollingFileConsumer.h>

Inheritance diagram for acdk::util::logging::RollingFileConsumer:

acdk::util::logging::FileConsumer acdk::util::logging::AbstractLogConsumer acdk::lang::Object acdk::util::logging::LogConsumer acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Public Member Functions

 RollingFileConsumer (INP(RFormatter) formatter=Nil, int minll=AllSys, int maxll=None, bool buffered=false)
 RollingFileConsumer (INP(RString) fnameBase, int maxBackupIndex, int maxRecordNum, INP(RFormatter) formatter=Nil, int minll=All, int maxll=None, bool buffered=false)
void publish (INP(RLogRecord) rec)
int getFlushLevel ()
void setFlushLevel (int level)
void rollOver ()
virtual void configure (IN(RString) propnameprefix, IN(RProperties) props)
 Will be called by the LogManager to self-configuration this LogConsumer.


Protected Attributes

int _maxBackupIndex
int _maxRecordNum
int _curRecordNum
int _flushLevel

Constructor & Destructor Documentation

acdk::util::logging::RollingFileConsumer::RollingFileConsumer INP(RFormatter formatter = Nil,
int  minll = AllSys,
int  maxll = None,
bool  buffered = false
[inline]
 

acdk::util::logging::RollingFileConsumer::RollingFileConsumer INP(RString fnameBase,
int  maxBackupIndex,
int  maxRecordNum,
INP(RFormatter formatter = Nil,
int  minll = All,
int  maxll = None,
bool  buffered = false
[inline]
 

See also:
FileConsumer::FileConsumer


Member Function Documentation

virtual void acdk::util::logging::RollingFileConsumer::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

Reimplemented from acdk::util::logging::FileConsumer.

int acdk::util::logging::RollingFileConsumer::getFlushLevel  )  [inline]
 

void acdk::util::logging::RollingFileConsumer::publish INP(RLogRecord rec  )  [inline]
 

Reimplemented from acdk::util::logging::FileConsumer.

void acdk::util::logging::RollingFileConsumer::rollOver  ) 
 

void acdk::util::logging::RollingFileConsumer::setFlushLevel int  level  )  [inline]
 

Reimplemented from acdk::util::logging::FileConsumer.


Member Data Documentation

int acdk::util::logging::RollingFileConsumer::_curRecordNum [protected]
 

int acdk::util::logging::RollingFileConsumer::_flushLevel [protected]
 

Reimplemented from acdk::util::logging::FileConsumer.

int acdk::util::logging::RollingFileConsumer::_maxBackupIndex [protected]
 

int acdk::util::logging::RollingFileConsumer::_maxRecordNum [protected]