Apache log4cxx Version 0.10.0
|
Base class for other pattern converters which can return only parts of their name. More...
Inherits log4cxx::pattern::LoggingEventPatternConverter.
Inherited by ClassNamePatternConverter, and LoggerPatternConverter.
Protected Member Functions | |
NamePatternConverter (const LogString &name, const LogString &style, const std::vector< LogString > &options) | |
Constructor. | |
void | abbreviate (int nameStart, LogString &buf) const |
Abbreviate name in string buffer. |
Base class for other pattern converters which can return only parts of their name.
NamePatternConverter | ( | const LogString & | name, |
const LogString & | style, | ||
const std::vector< LogString > & | options | ||
) | [protected] |
Constructor.
name | name of converter. |
style | style name for associated output. |
options | options, may be null, first element will be interpreted as an abbreviation pattern. |
void abbreviate | ( | int | nameStart, |
LogString & | buf | ||
) | const [protected] |
Abbreviate name in string buffer.
nameStart | starting position of name to abbreviate. |
buf | string buffer containing name. |