6 const std::string &fileName,
8 unsigned int maxBackupIndex,
11 m_fileName (fileName),
12 m_maxFileSize (maxFileSize),
13 m_maxBackupIndex (maxBackupIndex),
33 return m_maxBackupIndex;
38 m_maxFileSize = maxFileSize;
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.
virtual ~RollingFileAppender()
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.