18 #if !defined(_LOG4CXX_ROLLING_ROLLING_POLICY_BASE_H) 19 #define _LOG4CXX_ROLLING_ROLLING_POLICY_BASE_H 22 #pragma warning ( push ) 23 #pragma warning ( disable: 4231 4251 4275 4786 ) 27 #include <log4cxx/helpers/object.h> 28 #include <log4cxx/logger.h> 29 #include <log4cxx/logmanager.h> 30 #include <log4cxx/rolling/rollingpolicy.h> 31 #include <log4cxx/pattern/patternconverter.h> 32 #include <log4cxx/pattern/formattinginfo.h> 33 #include <log4cxx/pattern/patternparser.h> 39 LOG4CXX_LIST_DEF(PatternConverterList, log4cxx::pattern::PatternConverterPtr);
55 BEGIN_LOG4CXX_CAST_MAP()
58 END_LOG4CXX_CAST_MAP()
65 PatternConverterList patternConverters;
70 FormattingInfoList patternFields;
75 LogString fileNamePatternStr;
82 void releaseRef()
const;
84 virtual log4cxx::pattern::PatternMap getFormatSpecifiers()
const = 0;
86 virtual void setOption(
const LogString& option,
87 const LogString& value);
93 void setFileNamePattern(
const LogString& fnp);
99 LogString getFileNamePattern()
const;
102 #ifdef LOG4CXX_MULTI_PROCESS 103 PatternConverterList getPatternConverterList()
105 return patternConverters;
112 void parseFileNamePattern();
124 log4cxx::pattern::PatternConverterPtr getIntegerPatternConverter()
const;
125 log4cxx::pattern::PatternConverterPtr getDatePatternConverter()
const;
133 #if defined(_MSC_VER) 134 #pragma warning ( pop ) Implementation class for Object.
Definition: objectimpl.h:28
A RollingPolicy is responsible for performing the rolling over of the active log file.
Definition: rollingpolicy.h:42
A string based interface to configure package components.
Definition: optionhandler.h:35
Definition: appender.h:33
Implements methods common to most, it not all, rolling policies.
Definition: rollingpolicybase.h:49
smart pointer to a Object descendant
Definition: objectptr.h:54