Formats a string literal. More...
Inherits log4cxx::pattern::LoggingEventPatternConverter.
Public Member Functions | |
const void * | cast (const helpers::Class &clazz) const |
bool | instanceof (const helpers::Class &clazz) const |
void | format (const log4cxx::spi::LoggingEventPtr &event, LogString &toAppendTo, log4cxx::helpers::Pool &p) const |
Formats an event into a string buffer. | |
void | format (const log4cxx::helpers::ObjectPtr &obj, LogString &toAppendTo, log4cxx::helpers::Pool &p) const |
Formats an object into a string buffer. | |
Static Public Member Functions | |
static PatternConverterPtr | newInstance (const LogString &literal) |
Formats a string literal.
const void* cast | ( | const helpers::Class & | clazz | ) | const [inline, virtual] |
Reimplemented from LoggingEventPatternConverter.
void format | ( | const log4cxx::helpers::ObjectPtr & | obj, | |
LogString & | toAppendTo, | |||
log4cxx::helpers::Pool & | p | |||
) | const [virtual] |
Formats an object into a string buffer.
obj | event to format, may not be null. | |
toAppendTo | string buffer to which the formatted event will be appended. May not be null. | |
p | pool for any allocations necessary during formatting. |
Reimplemented from LoggingEventPatternConverter.
void format | ( | const log4cxx::spi::LoggingEventPtr & | event, | |
LogString & | toAppendTo, | |||
log4cxx::helpers::Pool & | p | |||
) | const [virtual] |
Formats an event into a string buffer.
event | event to format, may not be null. | |
toAppendTo | string buffer to which the formatted event will be appended. May not be null. | |
p | pool for memory allocations needing during format. |
Implements LoggingEventPatternConverter.
bool instanceof | ( | const helpers::Class & | clazz | ) | const [inline, virtual] |
Reimplemented from LoggingEventPatternConverter.
static PatternConverterPtr newInstance | ( | const LogString & | literal | ) | [static] |