DOKK / manpages / debian 10 / liblog4tango-doc / log4tango::RollingFileAppender.3.en
log4tango::RollingFileAppender(3) log4tango log4tango::RollingFileAppender(3)

log4tango::RollingFileAppender

#include <RollingFileAppender.hh>

Inherits log4tango::FileAppender.


RollingFileAppender (const std::string &name, const std::string &file_name, size_t max_fs=10 *1024 *1024, unsigned int max_bi=1, bool append=true, mode_t mode=00644)
virtual void set_max_backup_index (unsigned int maxBackups)
virtual unsigned int get_max_backup_index () const
virtual void set_maximum_file_size (size_t max_fs)
virtual size_t get_max_file_size () const
virtual void roll_over ()


virtual int _append (const LoggingEvent &event)
Log in Appender specific way.


unsigned int _max_backup_index
size_t _max_file_size

Log in Appender specific way. Subclasses of Appender should implement this method to perform actual logging.

Parameters:

event The LoggingEvent to log.

Reimplemented from log4tango::FileAppender.

Generated automatically by Doxygen for log4tango from the source code.

Mon Jan 16 2017 Version 5.0.1