#include <PatternLayout.hh>
Inheritance diagram for log4cpp::PatternLayout:


Public Methods | |
| PatternLayout () | |
| virtual | ~PatternLayout () |
| virtual std::string | format (const LoggingEvent &event) |
| Formats the LoggingEvent in the style set by the setConversionPattern call. More... | |
| bool | setConversionPattern (std::string conversionPattern) |
| Sets the format of log lines handled by this PatternLayout. More... | |
|
|
|
|
|
|
|
|
Formats the LoggingEvent in the style set by the setConversionPattern call. By default, set to "%m%n" Implements log4cpp::Layout. |
|
|
Sets the format of log lines handled by this PatternLayout.
By default, set to "%m%n". Date format: The date format character may be followed by a date format specifier enclosed between braces. For example, %d{%H:%M:%S,%l} or %d{%d %m %Y %H:%M:%S,%l}. If no date format specifier is given then the following format is used: "Wed Jan 02 02:03:55 1980". The date format specifier admits the same syntax as the ANSI C function strftime, with 1 addition. The addition is the specifier %l for milliseconds, padded with zeros to make 3 digits.
|
1.2.14 written by Dimitri van Heesch,
© 1997-2002