2005/5/9

     
 

class SimpleFormatter

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

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

#include <SimpleFormatter.h>

Inheritance diagram for acdk::util::logging::SimpleFormatter:

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

Detailed Description

Very simple format with only Category: Message output.


Public Member Functions

 SimpleFormatter ()
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::SimpleFormatter::SimpleFormatter  )  [inline]
 


Member Function Documentation

virtual void acdk::util::logging::SimpleFormatter::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::SimpleFormatter::format IN(RLogRecord rec,
IN(RCharWriter out
 

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

convert the LogRecord into a readable string

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