This Appender causes the application to abort() upon the first append() call.
More...
#include <AbortAppender.hh>
List of all members.
Detailed Description
This Appender causes the application to abort() upon the first append() call.
- Since:
- 0.3.5
Constructor & Destructor Documentation
log4cpp::AbortAppender::AbortAppender |
( |
const std::string & |
name | ) |
|
log4cpp::AbortAppender::~AbortAppender |
( |
| ) |
|
|
virtual |
Member Function Documentation
void log4cpp::AbortAppender::_append |
( |
const LoggingEvent & |
event | ) |
|
|
protectedvirtual |
void log4cpp::AbortAppender::close |
( |
| ) |
|
|
virtual |
Release any resources allocated within the appender such as file handles, network connections, etc.
Implements log4cpp::AppenderSkeleton.
bool log4cpp::AbortAppender::reopen |
( |
| ) |
|
|
virtual |
Reopens the output destination of this Appender, e.g.
the logfile or TCP socket.
- Returns:
- false if an error occured during reopening, true otherwise.
Reimplemented from log4cpp::AppenderSkeleton.
bool log4cpp::AbortAppender::requiresLayout |
( |
| ) |
const |
|
virtual |
void log4cpp::AbortAppender::setLayout |
( |
Layout * |
layout | ) |
|
|
virtual |
The documentation for this class was generated from the following files: