|
| 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 () |
|
| 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 () |
| Destructor. More...
|
|
virtual bool | reopen (void) |
| Reopens the logfile. More...
|
|
virtual void | close (void) |
| Closes the logfile. More...
|
|
virtual bool | is_valid (void) const |
| Check if the appender is valid. More...
|
|
virtual void | set_append (bool append) |
| Sets the append vs truncate flag. More...
|
|
virtual bool | get_append (void) const |
| Gets the value of the 'append' option. More...
|
|
virtual void | set_mode (mode_t mode) |
| Sets the file open mode. More...
|
|
virtual mode_t | get_mode () const |
| Gets the file open mode. More...
|
|
| LayoutAppender (const std::string &name) |
|
virtual | ~LayoutAppender () |
|
virtual bool | requires_layout () const |
| Check if the appender uses a layout. More...
|
|
virtual void | set_layout (Layout *layout=0) |
| Change the layout. More...
|
|
virtual | ~Appender () |
| Destructor for Appender. More...
|
|
int | append (const LoggingEvent &event) |
| Log in Appender specific way. More...
|
|
virtual bool | reopen (void) |
| Reopens the output destination of this Appender, e.g. More...
|
|
virtual void | close (void)=0 |
| Release any resources allocated within the appender such as file handles, network connections, etc. More...
|
|
virtual bool | requires_layout (void) const =0 |
| Check if the appender uses a layout. More...
|
|
virtual void | set_layout (Layout *layout=0)=0 |
| Change the layout. More...
|
|
const std::string & | get_name (void) const |
| Returns this appender name. More...
|
|
virtual bool | is_valid (void) const |
| Check if the appender is valid (for instance the underlying connection is ok) This default implementation always return true. More...
|
|