Formats a logger name.
More...
#include <loggerpatternconverter.h>
|
| | LoggerPatternConverter (const std::vector< LogString > &options) |
| void | format (const spi::LoggingEventPtr &event, LogString &toAppendTo, helpers::Pool &p) const override |
| void | format (const spi::LoggingEventPtr &event, LogString &toAppendTo) const |
| | Formats an event into a string buffer.
|
| void | format (const helpers::ObjectPtr &obj, LogString &toAppendTo, helpers::Pool &p) const override |
| virtual bool | handlesThrowable () const |
| | Normally pattern converters are not meant to handle Exceptions although few pattern converters might.
|
| void | format (const helpers::ObjectPtr &obj, LogString &toAppendTo) const |
| | Formats an object into a string buffer.
|
| void | format (const helpers::ObjectPtr &obj, LogString &toAppendTo) const |
| | Formats an object into a string buffer.
|
| LogString | getName () const |
| | This method returns the name of the conversion pattern.
|
| virtual LogString | getStyleClass (const helpers::ObjectPtr &e) const |
| | This method returns the CSS style class that should be applied to the LoggingEvent passed as parameter, which can be null.
|
| const FormattingInfo & | getFormattingInfo () const |
| | Provides a minimum width, a maximum width and the alignment.
|
| void | setFormattingInfo (const FormattingInfoPtr &newValue) |
| | Use newValue for the minimum width, a maximum width and the alignment.
|
| virtual | ~Object () |
| virtual const helpers::Class & | getClass () const =0 |
| virtual bool | instanceof (const Class &clazz) const =0 |
| virtual const void * | cast (const Class &clazz) const =0 |
|
| static PatternConverterPtr | newInstance (const std::vector< LogString > &options) |
| | Obtains an instance of pattern converter.
|
◆ LoggerPatternConverter()
| log4cxx::pattern::LoggerPatternConverter::LoggerPatternConverter |
( |
const std::vector< LogString > & | options | ) |
|
◆ format()
◆ newInstance()
| PatternConverterPtr log4cxx::pattern::LoggerPatternConverter::newInstance |
( |
const std::vector< LogString > & | options | ) |
|
|
static |
Obtains an instance of pattern converter.
- Parameters
-
| options | options, may be null. |
- Returns
- instance of pattern converter.
The documentation for this class was generated from the following file: