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();
53 #endif // _LOG4CPP_ROLLINGFILEAPPENDER_HH
The top level namespace for all 'Log for C++' types and classes.
unsigned short int _maxBackupIndexWidth
virtual void _append(const LoggingEvent &event)
Log in Appender specific way.
unsigned int _maxBackupIndex
LayoutAppender & operator=(const LayoutAppender &)
RollingFileAppender is a FileAppender that rolls over the logfile once it has reached a certain size ...