log4tango::Layout(3)

log4tango::Layout3

Usage

#include <Layout.hh>

Inherited by log4tango::PatternLayout, and log4tango::XMLLayout.

Public Member Functions

Layout ()
Constructor for Layout. virtual ~Layout ()
Destructor for Layout. virtual std::string format (const LoggingEvent &event)
Formats the LoggingEvent data to a string that appenders can log.

Constructor & Destructor Documentation

log4tango::Layout::Layout () [inline]

Constructor for Layout.

virtual log4tango::Layout::~Layout () [inline], [virtual]

Destructor for Layout.

Member Function Documentation

std::string log4tango::Layout::format (const LoggingEvent & event) [virtual]

Formats the LoggingEvent data to a string that appenders can log. Overload this method to create your own layout format.

Parameters

event The LoggingEvent.

Returns

an appendable string.

Reimplemented in log4tango::PatternLayout, and log4tango::XMLLayout.

Releases

4 releases since Debian 9 (Stretch); the text changed 2 times.

  1. 9–10
  2. 11
  3. 12

Author

Generated automatically by Doxygen for log4tango from the source code.

From liblog4tango-doc 9.3.4+dfsg1-2+deb12u1 in Debian 12 (Bookworm). Parsed by carta from the page's man source.