activemq::logger::SimpleFormatter Class Reference

#include <SimpleFormatter.h>

Inheritance diagram for activemq::logger::SimpleFormatter:

activemq::logger::Formatter List of all members.

Public Member Functions

 SimpleFormatter (void)
virtual ~SimpleFormatter (void)
virtual std::string format (const LogRecord &record) const
virtual std::string formatMessage (const LogRecord &record) const
virtual std::string getHead (const Handler *handler)
virtual std::string getTail (const Handler *handler)

Detailed Description

Print a brief summary of the LogRecord in a human readable format. The summary will typically be 1 or 2 lines.


Constructor & Destructor Documentation

activemq::logger::SimpleFormatter::SimpleFormatter void   )  [inline]
 

virtual activemq::logger::SimpleFormatter::~SimpleFormatter void   )  [inline, virtual]
 


Member Function Documentation

virtual std::string activemq::logger::SimpleFormatter::format const LogRecord record  )  const [inline, virtual]
 

Format the given log record and return the formatted string.

Parameters:
record The Log Record to Format

Implements activemq::logger::Formatter.

virtual std::string activemq::logger::SimpleFormatter::formatMessage const LogRecord record  )  const [inline, virtual]
 

Format the message string from a log record.

Parameters:
record The Log Record to Format

Implements activemq::logger::Formatter.

virtual std::string activemq::logger::SimpleFormatter::getHead const Handler handler  )  [inline, virtual]
 

Return the header string for a set of formatted records. In the default implementation this method should return empty string

Parameters:
handler the target handler, can be null
Returns:
empty string

Implements activemq::logger::Formatter.

virtual std::string activemq::logger::SimpleFormatter::getTail const Handler handler  )  [inline, virtual]
 

Return the tail string for a set of formatted records. In the default implementation this method should return empty string

Parameters:
handler the target handler, can be null
Returns:
empty string

Implements activemq::logger::Formatter.


The documentation for this class was generated from the following file:
Generated on Thu Aug 3 18:03:33 2006 for activemq-cpp by  doxygen 1.4.5