|
| | RollingFileAppender (const std::string &name, const std::string &fileName, size_t maxFileSize=10 *1024 *1024, unsigned int maxBackupIndex=1, bool append=true, mode_t mode=00644) |
| |
| virtual void | setMaxBackupIndex (unsigned int maxBackups) |
| |
| virtual unsigned int | getMaxBackupIndex () const |
| |
| virtual void | setMaximumFileSize (size_t maxFileSize) |
| |
| virtual size_t | getMaxFileSize () const |
| |
| virtual void | rollOver () |
| |
| | FileAppender (const std::string &name, const std::string &fileName, bool append=true, mode_t mode=00644) |
| | Constructs a FileAppender. More...
|
| |
| | FileAppender (const std::string &name, int fd) |
| | Constructs a FileAppender to an already open file descriptor. More...
|
| |
| virtual | ~FileAppender () |
| |
| virtual bool | reopen () |
| | Reopens the logfile. More...
|
| |
| virtual void | close () |
| | Closes the logfile. More...
|
| |
| virtual void | setAppend (bool append) |
| | Sets the append vs truncate flag. More...
|
| |
| virtual bool | getAppend () const |
| | Gets the value of the 'append' option. More...
|
| |
| virtual void | setMode (mode_t mode) |
| | Sets the file open mode. More...
|
| |
| virtual mode_t | getMode () const |
| | Gets the file open mode. More...
|
| |
| | LayoutAppender (const std::string &name) |
| |
| virtual | ~LayoutAppender () |
| |
| virtual bool | requiresLayout () const |
| | Check if the appender requires a layout. More...
|
| |
| virtual void | setLayout (Layout *layout=NULL) |
| | Set the Layout for this appender. More...
|
| |
| virtual | ~AppenderSkeleton () |
| | Destructor for AppenderSkeleton. More...
|
| |
| virtual void | doAppend (const LoggingEvent &event) |
| | Log in Appender specific way. More...
|
| |
| virtual bool | reopen () |
| | Reopens the output destination of this Appender, e.g. More...
|
| |
| virtual void | close ()=0 |
| | Release any resources allocated within the appender such as file handles, network connections, etc. More...
|
| |
| virtual bool | requiresLayout () const =0 |
| | Check if the appender uses a layout. More...
|
| |
| virtual void | setLayout (Layout *layout)=0 |
| | Set the Layout for this appender. More...
|
| |
| virtual void | setThreshold (Priority::Value priority) |
| | Set the threshold priority of this Appender. More...
|
| |
| virtual Priority::Value | getThreshold () |
| | Get the threshold priority of this Appender. More...
|
| |
| virtual void | setFilter (Filter *filter) |
| | Set a Filter for this appender. More...
|
| |
| virtual Filter * | getFilter () |
| | Get the Filter for this appender. More...
|
| |
| virtual | ~Appender () |
| | Destructor for Appender. More...
|
| |
| virtual void | doAppend (const LoggingEvent &event)=0 |
| | Log in Appender specific way. More...
|
| |
| virtual bool | reopen ()=0 |
| | Reopens the output destination of this Appender, e.g. More...
|
| |
| virtual void | close ()=0 |
| | Release any resources allocated within the appender such as file handles, network connections, etc. More...
|
| |
| virtual bool | requiresLayout () const =0 |
| | Check if the appender uses a layout. More...
|
| |
| virtual void | setLayout (Layout *layout)=0 |
| | Set the Layout for this appender. More...
|
| |
| const std::string & | getName () const |
| | Get the name of this appender. More...
|
| |
| virtual void | setThreshold (Priority::Value priority)=0 |
| | Set the threshold priority of this Appender. More...
|
| |
| virtual Priority::Value | getThreshold ()=0 |
| | Get the threshold priority of this Appender. More...
|
| |
| virtual void | setFilter (Filter *filter)=0 |
| | Set a Filter for this appender. More...
|
| |
| virtual Filter * | getFilter ()=0 |
| | Get the Filter for this appender. More...
|
| |
RollingFileAppender is a FileAppender that rolls over the logfile once it has reached a certain size limit.
- Since
- 0.3.1