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);
75 static PatternConverterPtr newInstance(
81 void format(const spi::LoggingEventPtr& event,
83 helpers::Pool& p) const override;
90 void format(const helpers::ObjectPtr& obj,
92 helpers::Pool& p) const override;
97 void format(const helpers::DatePtr& date,
99 helpers::Pool& p) const;
Convert and format a date or timestamp into a string.
Definition: datepatternconverter.h:36
LoggingEventPatternConverter is a base class for pattern converters that can format information from ...
Definition: loggingeventpatternconverter.h:38
std::vector< LogString > OptionsList
Definition: patternconverter.h:33
Definition: configuration.h:25
std::basic_string< logchar > LogString
Definition: logstring.h:60
#define LOG4CXX_CAST_ENTRY(Interface)
Definition: object.h:157
#define END_LOG4CXX_CAST_MAP()
Definition: object.h:151
#define LOG4CXX_CAST_ENTRY_CHAIN(Interface)
Definition: object.h:163
#define BEGIN_LOG4CXX_CAST_MAP()
Definition: object.h:145
#define DECLARE_LOG4CXX_PATTERN(cls)
Definition: patternconverter.h:26