log4tango
5.0.1
|
#include <LayoutAppender.hh>
Public Types | |
typedef Layout | DefaultLayoutType |
Public Member Functions | |
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... | |
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... | |
Protected Member Functions | |
Layout & | get_layout () |
![]() | |
Appender (const std::string &name) | |
Constructor for Appender. More... | |
virtual void | level_changed (Level::Value new_level) |
Inform an appender that its Logger's logging level has changed. More... | |
virtual int | _append (const LoggingEvent &event)=0 |
Log in Appender specific way. More... | |
log4tango::LayoutAppender::LayoutAppender | ( | const std::string & | name | ) |
|
virtual |
|
protected |
|
virtual |
Check if the appender uses a layout.
Implements log4tango::Appender.
|
virtual |
Change the layout.
Implements log4tango::Appender.