Provided by: liblog4tango-doc_9.2.5a+dfsg1-2build1_all
NAME
log4tango::RollingFileAppender
SYNOPSIS
#include <RollingFileAppender.hh> Inherits log4tango::FileAppender. Public Member Functions 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 () Protected Member Functions virtual int _append (const LoggingEvent &event) Log in Appender specific way. Protected Attributes unsigned int _max_backup_index size_t _max_file_size Additional Inherited Members
Constructor & Destructor Documentation
log4tango::RollingFileAppender::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)
Member Function Documentation
int log4tango::RollingFileAppender::_append (const LoggingEvent & event) [protected], [virtual] 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. unsigned int log4tango::RollingFileAppender::get_max_backup_index () const [virtual] size_t log4tango::RollingFileAppender::get_max_file_size () const [virtual] void log4tango::RollingFileAppender::roll_over () [virtual] void log4tango::RollingFileAppender::set_max_backup_index (unsigned int maxBackups) [virtual] void log4tango::RollingFileAppender::set_maximum_file_size (size_t max_fs) [virtual]
Member Data Documentation
unsigned int log4tango::RollingFileAppender::_max_backup_index [protected] size_t log4tango::RollingFileAppender::_max_file_size [protected]
Author
Generated automatically by Doxygen for log4tango from the source code.