#include <fileappender.h>
Inheritance diagram for log4cplus::DailyRollingFileAppender:
Public Member Functions | |
DailyRollingFileAppender (const log4cplus::tstring &filename, DailyRollingFileSchedule schedule=DAILY, bool immediateFlush=true, int maxBackupIndex=10) | |
DailyRollingFileAppender (const log4cplus::helpers::Properties &properties) | |
virtual | ~DailyRollingFileAppender () |
virtual void | close () |
Release any resources allocated within the appender such as file handles, network connections, etc. | |
Protected Member Functions | |
virtual void | append (const spi::InternalLoggingEvent &event) |
void | rollover () |
log4cplus::helpers::Time | calculateNextRolloverTime (const log4cplus::helpers::Time &t) const |
log4cplus::tstring | getFilename (const log4cplus::helpers::Time &t) const |
Protected Attributes | |
DailyRollingFileSchedule | schedule |
log4cplus::tstring | scheduledFilename |
log4cplus::helpers::Time | nextRolloverTime |
int | maxBackupIndex |
Definition at line 122 of file fileappender.h.
|
|
|
|
|
|
|
Reimplemented from log4cplus::FileAppender. |
|
|
|
Release any resources allocated within the appender such as file handles, network connections, etc. It is a programming error to append to a closed appender. Reimplemented from log4cplus::FileAppender. |
|
|
|
|
|
Definition at line 147 of file fileappender.h. |
|
Definition at line 146 of file fileappender.h. |
|
Definition at line 144 of file fileappender.h. |
|
Definition at line 145 of file fileappender.h. |