18 #if !defined(_LOG4CXX_ROLLING_FIXED_WINDOW_ROLLING_POLICY_H)
19 #define _LOG4CXX_ROLLING_FIXED_WINDOW_ROLLING_POLICY_H
81 bool explicitActiveFile;
86 enum { MAX_WINDOW_SIZE = 12 };
When rolling over, FixedWindowRollingPolicy renames files according to a fixed window algorithm as de...
Definition: fixedwindowrollingpolicy.h:72
void setOption(const LogString &option, const LogString &value)
Set option to value.
RolloverDescriptionPtr rollover(const LogString ¤tActiveFile, const bool append, log4cxx::helpers::Pool &pool)
Prepare for a rollover.This method is called prior to closing the active log file,...
RolloverDescriptionPtr initialize(const LogString ¤tActiveFile, const bool append, log4cxx::helpers::Pool &pool)
Initialize the policy and return any initial actions for rolling file appender.current value of Rolli...
void activateOptions(log4cxx::helpers::Pool &p)
Activate the options that were previously set with calls to option setters.
void setMaxIndex(int newVal)
FixedWindowRollingPolicy()
log4cxx::pattern::PatternMap getFormatSpecifiers() const
void setMinIndex(int newVal)
Implements methods common to most, it not all, rolling policies.
Definition: rollingpolicybase.h:52
std::map< LogString, PatternConstructor > PatternMap
Definition: patternparser.h:41
Definition: appender.h:33
std::basic_string< logchar > LogString
Definition: logstring.h:66
#define LOG4CXX_CAST_ENTRY(Interface)
Definition: object.h:148
#define END_LOG4CXX_CAST_MAP()
Definition: object.h:142
#define DECLARE_LOG4CXX_OBJECT(object)
Definition: object.h:39
#define LOG4CXX_CAST_ENTRY_CHAIN(Interface)
Definition: object.h:154
#define BEGIN_LOG4CXX_CAST_MAP()
Definition: object.h:136