19 #if !defined(_LOG4CXX_ROLLING_TIME_BASED_ROLLING_POLICY_H) 20 #define _LOG4CXX_ROLLING_TIME_BASED_ROLLING_POLICY_H 30 #pragma warning ( push ) 31 #pragma warning ( disable: 4251 ) 160 log4cxx_time_t nextCheck;
180 apr_file_t* _file_map;
185 std::string _mapFileName;
190 apr_file_t* _lock_file;
200 bool bAlreadyInitialized;
205 bool bRefreshCurFile;
221 #ifdef LOG4CXX_MULTI_PROCESS 242 int lockMMapFile(
int type);
247 int unLockMMapFile();
252 const std::string createFile(
const std::string& filename,
const std::string& suffix,
log4cxx::helpers::Pool& pool);
258 RolloverDescriptionPtr initialize(
266 RolloverDescriptionPtr rollover(
282 virtual bool isTriggeringEvent(
298 #if defined(_MSC_VER) 299 #pragma warning ( pop ) #define LOG4CXX_CAST_ENTRY(Interface)
Definition: object.h:148
#define END_LOG4CXX_CAST_MAP()
Definition: object.h:142
A TriggeringPolicy controls the conditions under which rollover occurs.
Definition: triggeringpolicy.h:44
std::shared_ptr< LoggingEvent > LoggingEventPtr
Definition: appender.h:37
#define BEGIN_LOG4CXX_CAST_MAP()
Definition: object.h:136
#define DECLARE_LOG4CXX_OBJECT(object)
Definition: object.h:39
Implement this interface for your own strategies for outputting log statements.
Definition: appender.h:55
#define LOG4CXX_CAST_ENTRY_CHAIN(Interface)
Definition: object.h:154
TimeBasedRollingPolicy is both easy to configure and quite powerful.
Definition: timebasedrollingpolicy.h:146
std::map< LogString, PatternConstructor > PatternMap
Definition: patternparser.h:41
Definition: appender.h:32
std::basic_string< logchar > LogString
Definition: logstring.h:66
Implements methods common to most, it not all, rolling policies.
Definition: rollingpolicybase.h:49