activemq-cpp-3.6.0
decaf::util::logging::SimpleFormatter Class Reference

Print a brief summary of the LogRecord in a human readable format. More...

#include <src/main/decaf/util/logging/SimpleFormatter.h>

Inheritance diagram for decaf::util::logging::SimpleFormatter:

Public Member Functions

 SimpleFormatter ()
virtual ~SimpleFormatter ()
virtual std::string format (const LogRecord &record) const
 Format the given log record and return the formatted string.
- Public Member Functions inherited from decaf::util::logging::Formatter
virtual ~Formatter ()
virtual std::string formatMessage (const LogRecord &record) const
 Format the message string from a log record.
virtual std::string getHead (const Handler *handler DECAF_UNUSED)
 Return the header string for a set of formatted records.
virtual std::string getTail (const Handler *handler DECAF_UNUSED)
 Return the tail string for a set of formatted records.

Detailed Description

Print a brief summary of the LogRecord in a human readable format.

The summary will typically be 1 or 2 lines.

Since
1.0

Constructor & Destructor Documentation

decaf::util::logging::SimpleFormatter::SimpleFormatter ( )
virtual decaf::util::logging::SimpleFormatter::~SimpleFormatter ( )
virtual

Member Function Documentation

virtual std::string decaf::util::logging::SimpleFormatter::format ( const LogRecord record) const
virtual

Format the given log record and return the formatted string.

Parameters
recordThe Log Record to Format.

Implements decaf::util::logging::Formatter.


The documentation for this class was generated from the following file: