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
bool getAppend() const
Noop method for getting the append flag.
Noop class that mimics the same class in log4cpp library.
virtual void setLayout(Layout *layout)
Set the layout for this Appender.
size_t getMaxFileSize() const
Noop method for getting the maximum file size.
Noop version that mimics the same class in the log4cpp library.
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.
RollingFileAppender(const std::string &name, const std::string &fileName, size_t maxFileSize, unsigned int maxBackupIndex, bool append)
Single constructor.
Noop class that mimics the same class in the log4cpp library.