Engauge Digitizer 2
|
Noop class that mimics the same class in the log4cpp library. More...
#include <RollingFileAppender.hh>
Public Member Functions | |
RollingFileAppender (const std::string &name, const std::string &fileName, size_t maxFileSize, unsigned int maxBackupIndex, bool append) | |
Single constructor. | |
virtual | ~RollingFileAppender () |
void | setMaxBackupIndex (unsigned int maxBackups) |
Noop method for setting the number of backups. | |
unsigned int | getMaxBackupIndex () const |
Noop method for getting the number of backups. | |
void | setMaximumFileSize (size_t maxFileSize) |
Noop method for setting the maximum file size. | |
size_t | getMaxFileSize () const |
Noop method for getting the maximum file size. | |
bool | getAppend () const |
Noop method for getting the append flag. | |
virtual void | setLayout (Layout *layout) |
Set the layout for this Appender. | |
Public Member Functions inherited from log4cpp::FileAppender | |
FileAppender (const std::string &name) | |
Single constructor. | |
virtual | ~FileAppender () |
Public Member Functions inherited from log4cpp::LayoutAppender | |
LayoutAppender (const std::string &) | |
Single constructor. | |
virtual | ~LayoutAppender () |
Public Member Functions inherited from log4cpp::Appender | |
virtual | ~Appender () |
Noop class that mimics the same class in the log4cpp library.
Definition at line 11 of file RollingFileAppender.hh.
log4cpp::RollingFileAppender::RollingFileAppender | ( | const std::string & | name, |
const std::string & | fileName, | ||
size_t | maxFileSize, | ||
unsigned int | maxBackupIndex, | ||
bool | append ) |
Single constructor.
Definition at line 5 of file RollingFileAppender.cpp.
|
virtual |
Definition at line 18 of file RollingFileAppender.cpp.
bool log4cpp::RollingFileAppender::getAppend | ( | ) | const |
Noop method for getting the append flag.
Definition at line 26 of file RollingFileAppender.cpp.
unsigned int log4cpp::RollingFileAppender::getMaxBackupIndex | ( | ) | const |
Noop method for getting the number of backups.
Definition at line 31 of file RollingFileAppender.cpp.
size_t log4cpp::RollingFileAppender::getMaxFileSize | ( | ) | const |
Noop method for getting the maximum file size.
Definition at line 41 of file RollingFileAppender.cpp.
|
virtual |
Set the layout for this Appender.
Implements log4cpp::LayoutAppender.
Definition at line 46 of file RollingFileAppender.cpp.
void log4cpp::RollingFileAppender::setMaxBackupIndex | ( | unsigned int | maxBackups | ) |
Noop method for setting the number of backups.
Definition at line 22 of file RollingFileAppender.cpp.
void log4cpp::RollingFileAppender::setMaximumFileSize | ( | size_t | maxFileSize | ) |
Noop method for setting the maximum file size.
Definition at line 36 of file RollingFileAppender.cpp.