#include <LayoutAppender.hh>
Public Member Functions |
| LayoutAppender (const std::string &name) |
virtual | ~LayoutAppender () |
virtual bool | requires_layout () const |
| Check if the appender uses a layout.
|
virtual void | set_layout (Layout *layout=0) |
| Change the layout.
|
virtual | ~Appender () |
| Destructor for Appender.
|
int | append (const LoggingEvent &event) |
| Log in Appender specific way.
|
virtual bool | reopen (void) |
| Reopens the output destination of this Appender, e.g.
|
virtual void | close (void)=0 |
| Release any resources allocated within the appender such as file handles, network connections, etc.
|
const std::string & | get_name (void) const |
| Returns this appender name.
|
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.
|
Member Typedef Documentation
Constructor & Destructor Documentation
log4tango::LayoutAppender::LayoutAppender |
( |
const std::string & |
name | ) |
|
log4tango::LayoutAppender::~LayoutAppender |
( |
| ) |
|
|
virtual |
Member Function Documentation
Layout & log4tango::LayoutAppender::get_layout |
( |
void |
| ) |
|
|
protected |
bool log4tango::LayoutAppender::requires_layout |
( |
| ) |
const |
|
virtual |
Check if the appender uses a layout.
- Returns
- true if the appender implementation requires a layout.
Implements log4tango::Appender.
void log4tango::LayoutAppender::set_layout |
( |
Layout * |
layout = 0 | ) |
|
|
virtual |
The documentation for this class was generated from the following files: