log4tango::PatternLayout
- Provided by: liblog4tango-doc (Version: 9.2.5a+dfsg1-2ubuntu1)
- Source: tango
- Report a bug
#include <PatternLayout.hh>
Inherits log4tango::Layout.
class PatternComponent
PatternLayout ()
virtual ~PatternLayout ()
virtual std::string format (const LoggingEvent &event)
Formats the LoggingEvent in the style set by the set_conversion_pattern
call. virtual int set_conversion_pattern (const std::string
&conversionPattern)
Sets the format of log lines handled by this PatternLayout. virtual
std::string get_conversion_pattern () const
virtual void clear_conversion_pattern ()
static const char * BASIC_CONVERSION_PATTERN = '%R %p %c
%m%n'
A conversion pattern equivalent to the BasicLayout.
Formats the LoggingEvent in the style set by the set_conversion_pattern call. By default, set to '%%m%%n'
Reimplemented from log4tango::Layout.
Sets the format of log lines handled by this PatternLayout.
By default, set to '%%m%%n'.
Format characters are as follows:
Parameters
Exceptions
A conversion pattern equivalent to the BasicLayout.
Generated automatically by Doxygen for log4tango from the source code.