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
#define LOG4CXX_EXPORT
Definition: log4cxx.h:101
#define LOG4CXX_PTR_DEF(T)
Definition: log4cxx.h:64
#define LOG4CXX_NS
Definition: log4cxx.h:104
std::vector< LogString > OptionsList
Definition: patternconverter.h:33
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