18#ifndef _LOG4CXX_PATTERN_DATE_PATTERN_CONVERTER
19#define _LOG4CXX_PATTERN_DATE_PATTERN_CONVERTER
43 log4cxx::helpers::DateFormatPtr df;
57 static log4cxx::helpers::DateFormatPtr getDateFormat(
const OptionsList& options);
66 static PatternConverterPtr newInstance(
73 void format(const
log4cxx::spi::LoggingEventPtr& event,
75 log4cxx::helpers::Pool& p) const;
76 void format(const
log4cxx::helpers::ObjectPtr& obj,
78 log4cxx::helpers::Pool& p) const;
80 void format(const
log4cxx::helpers::DatePtr& date,
82 log4cxx::helpers::Pool& p) const;
Convert and format the event's date in a StringBuffer.
Definition: datepatternconverter.h:39
LoggingEventPatternConverter is a base class for pattern converters that can format information from ...
Definition: loggingeventpatternconverter.h:38
std::vector< LogString > OptionsList
Definition: patternconverter.h:38
Definition: messagehandler.h:23
std::basic_string< logchar > LogString
Definition: logstring.h:66
#define LOG4CXX_CAST_ENTRY(Interface)
Definition: object.h:153
#define END_LOG4CXX_CAST_MAP()
Definition: object.h:147
#define LOG4CXX_CAST_ENTRY_CHAIN(Interface)
Definition: object.h:159
#define BEGIN_LOG4CXX_CAST_MAP()
Definition: object.h:141
#define DECLARE_LOG4CXX_PATTERN(cls)
Definition: patternconverter.h:31