18#ifndef _LOG4CXX_PATTERN_DATE_PATTERN_CONVERTER
19#define _LOG4CXX_PATTERN_DATE_PATTERN_CONVERTER
37 struct DatePatternConverterPrivate;
44 static helpers::DateFormatPtr getDateFormat(
const OptionsList& options);
83 helpers::Pool& p) const override;
92 helpers::Pool& p) const override;
Convert and format a date or timestamp into a string.
Definition datepatternconverter.h:36
void format(const spi::LoggingEventPtr &event, LogString &output, helpers::Pool &p) const override
Append to output a textual version of the timestamp in event.
static PatternConverterPtr newInstance(const std::vector< LogString > &options)
An object that can convert a date or timestamp to the format described by the conversion specifier in...
DatePatternConverter(const OptionsList &options)
An object that can convert a date or timestamp to the format described by the conversion specifier in...
LoggingEventPatternConverter(const LogString &name, const LogString &style)
Constructs an instance of LoggingEventPatternConverter.
Definition propertysetter.h:27
std::vector< LogString > OptionsList
Definition patternconverter.h:33
LOG4CXX_PTR_DEF(DatePatternConverter)
std::basic_string< logchar > LogString
Definition logstring.h:60
#define LOG4CXX_CAST_ENTRY(Interface)
Definition object.h:158
#define END_LOG4CXX_CAST_MAP()
Definition object.h:152
#define LOG4CXX_CAST_ENTRY_CHAIN(Interface)
Definition object.h:164
#define BEGIN_LOG4CXX_CAST_MAP()
Definition object.h:146
#define DECLARE_LOG4CXX_PATTERN(cls)
Definition patternconverter.h:26