This Appender causes the application to abort() upon the first append() call. More...
#include <AbortAppender.hh>

Public Member Functions | |
| AbortAppender (const std::string &name) | |
| virtual void | close () |
| Release any resources allocated within the appender such as file handles, network connections, etc. More... | |
| virtual bool | reopen () |
| Reopens the output destination of this Appender, e.g. More... | |
| virtual bool | requiresLayout () const |
| The AbortAppender does not layout. More... | |
| virtual void | setLayout (Layout *layout) |
| Set the Layout for this appender. More... | |
| virtual | ~AbortAppender () |
Public Member Functions inherited from AppenderSkeleton | |
| virtual void | doAppend (const LoggingEvent &event) |
| Log in Appender specific way. More... | |
| virtual Filter * | getFilter () |
| Get the Filter for 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 void | setThreshold (Priority::Value priority) |
| Set the threshold priority of this Appender. More... | |
| virtual | ~AppenderSkeleton () |
| Destructor for AppenderSkeleton. More... | |
Public Member Functions inherited from Appender | |
| const std::string & | getName () const |
| Get the name of this appender. More... | |
| virtual | ~Appender () |
| Destructor for Appender. More... | |
Protected Member Functions | |
| virtual void | _append (const LoggingEvent &event) |
| Log in Appender specific way. More... | |
Protected Member Functions inherited from AppenderSkeleton | |
| AppenderSkeleton (const std::string &name) | |
| Constructor for AppenderSkeleton. More... | |
Protected Member Functions inherited from Appender | |
| Appender (const std::string &name) | |
| Constructor for Appender. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Appender | |
| static void | closeAll () |
| Call reopen() on all existing Appenders. More... | |
| static Appender * | getAppender (const std::string &name) |
| Get a pointer to an existing Appender. More... | |
| static bool | reopenAll () |
| Call reopen() on all existing Appenders. More... | |
This Appender causes the application to abort() upon the first append() call.
Definition at line 24 of file AbortAppender.hh.
| AbortAppender::AbortAppender | ( | const std::string & | name | ) |
|
virtual |
|
protectedvirtual |
Log in Appender specific way.
Subclasses of Appender should implement this method to perform actual logging.
| event | The LoggingEvent to log. |
Implements AppenderSkeleton.
|
virtual |
Release any resources allocated within the appender such as file handles, network connections, etc.
Implements AppenderSkeleton.
|
virtual |
Reopens the output destination of this Appender, e.g.
the logfile or TCP socket.
Reimplemented from AppenderSkeleton.
|
virtual |
|
virtual |