1 #ifndef ROLLING_FILE_APPENDER_HH 2 #define ROLLING_FILE_APPENDER_HH 4 #include "log4cpp/FileAppender.hh" 16 const std::string &fileName,
18 unsigned int maxBackupIndex,
41 std::string m_fileName;
43 unsigned int m_maxBackupIndex;
48 #endif // ROLLING_FILE_APPENDER_HH Noop class that mimics the same class in log4cpp library.
virtual void setLayout(Layout *layout)
Set the layout for this Appender.
Noop version that mimics the same class in the log4cpp library.
bool getAppend() const
Noop method for getting the append flag.
void setMaxBackupIndex(unsigned int maxBackups)
Noop method for setting the number of backups.
size_t getMaxFileSize() const
Noop method for getting the maximum file size.
void setMaximumFileSize(size_t maxFileSize)
Noop method for setting the maximum file size.
RollingFileAppender(const std::string &name, const std::string &fileName, size_t maxFileSize, unsigned int maxBackupIndex, bool append)
Single constructor.
unsigned int getMaxBackupIndex() const
Noop method for getting the number of backups.
Noop class that mimics the same class in the log4cpp library.