log4cplus_SimpleLayout(3)
| log4cplus::SimpleLayout(3) | log4cplus | log4cplus::SimpleLayout(3) |
NAME
log4cplus::SimpleLayout - SimpleLayout consists of the LogLevel of the log statement, followed by ' - ' and then the log message itself.
SYNOPSIS
#include <layout.h>
Inherits log4cplus::Layout.
Public Member Functions
SimpleLayout ()
SimpleLayout (const log4cplus::helpers::Properties
&properties)
virtual ~SimpleLayout ()
virtual void formatAndAppend (log4cplus::tostream &output,
const log4cplus::spi::InternalLoggingEvent &event)
Additional Inherited Members
Detailed Description
SimpleLayout consists of the LogLevel of the log statement, followed by ' - ' and then the log message itself.
For example,
DEBUG - Hello world
PatternLayout offers a much more powerful alternative.
Definition at line 104 of file layout.h.
Constructor & Destructor Documentation
log4cplus::SimpleLayout::SimpleLayout ()
log4cplus::SimpleLayout::SimpleLayout (const log4cplus::helpers::Properties & properties)
virtual log4cplus::SimpleLayout::~SimpleLayout () [virtual]
Member Function Documentation
virtual void log4cplus::SimpleLayout::formatAndAppend (log4cplus::tostream & output, const log4cplus::spi::InternalLoggingEvent & event) [virtual]
Implements log4cplus::Layout.
Author
Generated automatically by Doxygen for log4cplus from the source code.
| Fri Jun 18 2021 | Version 2.0.6 |
