#include <RollingFileAppender.hh>
Inheritance diagram for log4cpp::RollingFileAppender:
Public Methods | |
RollingFileAppender (const std::string &name, const std::string &fileName, size_t maxFileSize=10 *1024 *1024, unsigned int maxBackupIndex=1, bool append=true, mode_t mode=00644) | |
virtual void | setMaxBackupIndex (unsigned int maxBackups) |
virtual unsigned int | getMaxBackupIndex () const |
virtual void | setMaximumFileSize (size_t maxFileSize) |
virtual size_t | getMaxFileSize () const |
virtual void | rollOver () |
Protected Methods | |
virtual void | _append (const LoggingEvent &event) |
Log in Appender specific way. More... | |
Protected Attributes | |
unsigned int | _maxBackupIndex |
size_t | _maxFileSize |
|
|
|
Log in Appender specific way. Subclasses of Appender should implement this method to perform actual logging.
Reimplemented from log4cpp::FileAppender. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|