2005/5/9

     
 

class StdFormatter

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

acdk::util::logging::StdFormatter Class Reference
[ACDK Logging classes/functions/macros]

#include <StdFormatter.h>

Inheritance diagram for acdk::util::logging::StdFormatter:

acdk::lang::Object acdk::util::logging::Formatter acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

Standard format for LogRecord in one readable line per LogRecord.


Public Member Functions

 StdFormatter ()
RString format (IN(RLogRecord) rec)
 convert the LogRecord into a readable string

void format (IN(RLogRecord) rec, IN(RCharWriter) out)
virtual void configure (IN(RString) propnameprefix, IN(::acdk::util::RProperties) props)
 configure with given properties using the prefix for key names To access a custom configure value 'foo' just read it with the the prefix propnameprefix + foo


Constructor & Destructor Documentation

acdk::util::logging::StdFormatter::StdFormatter  )  [inline]
 


Member Function Documentation

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

configure with given properties using the prefix for key names To access a custom configure value 'foo' just read it with the the prefix propnameprefix + foo

Implements acdk::util::logging::Formatter.

void acdk::util::logging::StdFormatter::format IN(RLogRecord rec,
IN(RCharWriter out
 

RString acdk::util::logging::StdFormatter::format IN(RLogRecord rec  )  [inline, virtual]
 

convert the LogRecord into a readable string

Reimplemented from acdk::util::logging::Formatter.