#include <log.hh>
Inheritance diagram for Qmms::Log::RollingFileAppender::

Public Methods | |
| RollingFileAppender () | |
| Default constructor. More... | |
| RollingFileAppender (const QString &name) | |
| Constructor. More... | |
| RollingFileAppender (const QString &name, Layout *lyt, QString filename, const bool append) | |
| Full constructor. More... | |
| ~RollingFileAppender () | |
| Destructor closes handle to logfile. More... | |
| int | getMaxBackupIndex () const |
| Accessor method. More... | |
| void | setMaxBackupIndex (const int maxbackups) |
| Accessor method. More... | |
| uint | getMaxFileSize () const |
| Accessor method. More... | |
| void | setMaxFileSize (uint maxfilesize) |
| Accessor method. More... | |
| void | subAppend (LoggingEvent *evnt) |
| Logs the event immediately with no further checks of any kind. More... | |
Protected Methods | |
| void | rollOver () |
| Rolls a logfile over. More... | |
Protected Attributes | |
| uint | maxFileSize |
| The maximum size a log file is allowed to be. More... | |
| int | maxBackupIndex |
| The maximum number of times a log file should roll over. More... | |
Static Protected Attributes | |
| const uint | DEFAULT_MAXFILESIZE |
| The (default) maximum size that a log file should be. More... | |
| const int | DEFAULT_MAXBACKUP_INDEX |
| The (default) maximum number of times the log file should roll over. More... | |
|
|
Default constructor. Sets maxFileSize and maxBackupIndex to defaults. |
|
|
Constructor. Passes name to base class and sets defaults.
|
|
||||||||||||||||||||
|
Full constructor. Sets defaults and passes name, layout, and name of logfile to base class constructor.
|
|
|
Destructor closes handle to logfile.
|
|
|
Accessor method.
|
|
|
Accessor method.
|
|
|
Rolls a logfile over.
That is, it renames the current |
|
|
Accessor method. Sets the maxBackupIndex.
|
|
|
Accessor method. Sets the maximum size a logfile can be.
|
|
|
Logs the event immediately with no further checks of any kind. Recall again the order of things:
Reimplemented from Qmms::Log::FileAppender. |
|
|
The (default) maximum number of times the log file should roll over.
|
|
|
The (default) maximum size that a log file should be.
|
|
|
The maximum number of times a log file should roll over.
|
|
|
The maximum size a log file is allowed to be.
|
1.2.12 written by Dimitri van Heesch,
© 1997-2001