7 #ifndef _LOG4CPP_ROLLINGFILEAPPENDER_HH 8 #define _LOG4CPP_ROLLINGFILEAPPENDER_HH 25 const std::string& fileName,
26 size_t maxFileSize = 10*1024*1024,
27 unsigned int maxBackupIndex = 1,
31 virtual void setMaxBackupIndex(
unsigned int maxBackups);
32 virtual unsigned int getMaxBackupIndex()
const;
33 virtual void setMaximumFileSize(
size_t maxFileSize);
34 virtual size_t getMaxFileSize()
const;
36 virtual void rollOver();
48 #endif // _LOG4CPP_ROLLINGFILEAPPENDER_HH Definition: FileAppender.hh:20
unsigned int _maxBackupIndex
Definition: RollingFileAppender.hh:41
size_t _maxFileSize
Definition: RollingFileAppender.hh:44
#define LOG4CPP_EXPORT
Definition: Export.hh:19
The top level namespace for all 'Log for C++' types and classes.
Definition: AbortAppender.hh:16
The internal representation of logging events.
Definition: LoggingEvent.hh:32
unsigned short int _maxBackupIndexWidth
Definition: RollingFileAppender.hh:42
RollingFileAppender is a FileAppender that rolls over the logfile once it has reached a certain size ...
Definition: RollingFileAppender.hh:22