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)
Public Member Functions inherited from log4cplus::Layout
Layout ()
Layout (const helpers::Properties &properties)
virtual ~Layout ()=0
Additional Inherited Members
Protected Attributes inherited from log4cplus::Layout
LogLevelManager & llmCache
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.
| Mon Jun 5 2023 21:46:10 | Version 2.0.7 |
