Inheritance diagram for log4cplus::RollingFileAppender:
Public Member Functions | |
RollingFileAppender (const log4cplus::tstring &filename, long maxFileSize=10 *1024 *1024, int maxBackupIndex=1, bool immediateFlush=true) | |
RollingFileAppender (const log4cplus::helpers::Properties &properties, log4cplus::tstring &error) | |
Protected Member Functions | |
virtual void | append (const spi::InternalLoggingEvent &event) |
void | rollover () |
Protected Attributes | |
long | maxFileSize |
int | maxBackupIndex |
Private Member Functions | |
void | init (long maxFileSize, int maxBackupIndex) |
Properties additional to FileAppender's properties:
MaxFileSize
MB
and KB
suffixes to specify the value in megabytes or kilobytes instead.
MaxBackupIndex
log.1
, log.2
etc. files will be kept.
Definition at line 146 of file fileap.h.