#include <AppenderSkeleton.hh>
Inheritance diagram for log4cpp::AppenderSkeleton:
Public Methods | |
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... | |
Protected Methods | |
AppenderSkeleton (const std::string &name) | |
Constructor for AppenderSkeleton. More... | |
virtual void | _append (const LoggingEvent &event)=0 |
Log in Appender specific way. More... |
|
Constructor for AppenderSkeleton. Will only be used in getAppender() (and in derived classes of course).
|
|
Destructor for AppenderSkeleton.
|
|
Log in Appender specific way. Subclasses of Appender should implement this method to perform actual logging.
Implemented in log4cpp::FileAppender. |
|
Release any resources allocated within the appender such as file handles, network connections, etc.
Implements log4cpp::Appender. Implemented in log4cpp::FileAppender. |
|
Log in Appender specific way.
Implements log4cpp::Appender. |
|
Get the Filter for this appender.
Implements log4cpp::Appender. |
|
Get the threshold priority of this Appender.
Implements log4cpp::Appender. |
|
Reopens the output destination of this Appender, e.g. the logfile or TCP socket.
Implements log4cpp::Appender. Reimplemented in log4cpp::FileAppender. |
|
Check if the appender uses a layout.
Implements log4cpp::Appender. Implemented in log4cpp::IdsaAppender. |
|
Set a Filter for this appender.
Implements log4cpp::Appender. |
|
Set the Layout for this appender.
Implements log4cpp::Appender. Implemented in log4cpp::IdsaAppender. |
|
Set the threshold priority of this Appender. The Appender will not appender LoggingEvents with a priority lower than the threshold. Use Priority::NOTSET to disable threshold checking.
Implements log4cpp::Appender. |