Scroll to navigation

log4tango::Layout(3) log4tango log4tango::Layout(3)

NAME

log4tango::Layout

SYNOPSIS

#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.

Author

Generated automatically by Doxygen for log4tango from the source code.

Fri Nov 11 2022 Version 5.0.2