Return the event's NDC in a StringBuffer.
More...
#include <ndcpatternconverter.h>
|
| | NDCPatternConverter () |
| |
| 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 |
| |
| void | format (const helpers::ObjectPtr &obj, LogString &toAppendTo) const |
| | Formats an object into a string buffer.
|
| |
| void | format (const spi::LoggingEventPtr &event, LogString &toAppendTo) const |
| | Formats an event into a string buffer.
|
| |
| 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 |
| |
Return the event's NDC in a StringBuffer.
◆ NDCPatternConverter()
| log4cxx::pattern::NDCPatternConverter::NDCPatternConverter |
( |
| ) |
|
◆ format() [1/4]
| void log4cxx::pattern::PatternConverter::format |
( |
const helpers::ObjectPtr & | obj, |
|
|
LogString & | toAppendTo ) const |
Formats an object into a string buffer.
- Parameters
-
| obj | holds the attributes, may not be null. |
| toAppendTo | string buffer to which the formatted event will be appended. May not be null. |
◆ format() [2/4]
| void log4cxx::pattern::LoggingEventPatternConverter::format |
( |
const helpers::ObjectPtr & | obj, |
|
|
LogString & | toAppendTo, |
|
|
helpers::Pool & | p ) const |
|
overridevirtual |
◆ format() [3/4]
Formats an event into a string buffer.
- Parameters
-
| event | holds the attributes, may not be null. |
| toAppendTo | string buffer to which the formatted event will be appended. May not be null. |
◆ format() [4/4]
◆ newInstance()
| static PatternConverterPtr log4cxx::pattern::NDCPatternConverter::newInstance |
( |
const std::vector< LogString > & | options | ) |
|
|
static |
The documentation for this class was generated from the following file: