Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | Class Members | Related Pages

PatternConverter Class Reference

Inheritance diagram for PatternConverter:

ObjectImpl Object List of all members.

Public Member Functions

virtual void format (ostream &sbuf, const spi::LoggingEventPtr &e) const

Protected Member Functions

virtual void convert (ostream &sbuf, const spi::LoggingEventPtr &event) const =0

Detailed Description

PatternConverter is an abtract class that provides the formatting functionality that derived classes need.

Conversion specifiers in a conversion patterns are parsed to individual PatternConverters. Each of which is responsible for converting a logging event in a converter specific manner.


Member Function Documentation

virtual void convert ostream &  sbuf,
const spi::LoggingEventPtr event
const [protected, pure virtual]
 

Derived pattern converters must override this method in order to convert conversion specifiers in the correct way.

void format ostream &  sbuf,
const spi::LoggingEventPtr e
const [virtual]
 

A template method for formatting in a converter specific way.


The documentation for this class was generated from the following files:
Generated on Tue Nov 14 14:55:20 2006 for log4cxx by  doxygen 1.3.9.1