18#ifndef _LOG4CXX_HELPERS_ONLY_ONCE_ERROR_HANDLER_H
19#define _LOG4CXX_HELPERS_ONLY_ONCE_ERROR_HANDLER_H
39#if LOG4CXX_ABI_VERSION <= 15
47 LOG4CXX_DECLARE_PRIVATE_MEMBER_PTR(OnlyOnceErrorHandlerPrivate, m_priv)
52#if 15 < LOG4CXX_ABI_VERSION
71#if LOG4CXX_ABI_VERSION <= 15
93 int errorCode)
const override;
120#if 15 < LOG4CXX_ABI_VERSION
base class for java-like objects.
Definition object.h:102
void activateOptions(helpers::Pool &1) override
void setOption(const LogString &option, const LogString &value) override
Set option to value.
void setAppender(const AppenderPtr &appender) override
Does not do anything.
void setLogger(const LoggerPtr &logger) override
Does not do anything.
bool errorReported() const
Has an error been reported?
void error(const LogString &message, const std::exception &e, int errorCode) const override
Prints the message and the stack trace of the exception on System.err.
void error(const LogString &message) const override
Print a the error message passed as parameter on System.err.
void error(const LogString &message, const std::exception &e, int errorCode, const spi::LoggingEventPtr &event) const override
Prints the message and the stack trace of the exception on System.err.
void setBackupAppender(const AppenderPtr &appender) override
Does not do anything.
Appenders may delegate their error handling to ErrorHandlers.
Definition errorhandler.h:64
A string based interface to configure package components.
Definition optionhandler.h:35
std::shared_ptr< LoggingEvent > LoggingEventPtr
Definition appender.h:32
std::basic_string< logchar > LogString
Definition logstring.h:60
std::shared_ptr< Appender > AppenderPtr
Definition basicconfigurator.h:29
std::shared_ptr< Logger > LoggerPtr
Definition defaultloggerfactory.h:27
#define LOG4CXX_CAST_ENTRY(Interface)
Definition object.h:154
#define END_LOG4CXX_CAST_MAP()
Definition object.h:148
#define DECLARE_LOG4CXX_OBJECT(object)
Definition object.h:41
#define LOG4CXX_CAST_ENTRY_CHAIN(Interface)
Definition object.h:160
#define BEGIN_LOG4CXX_CAST_MAP()
Definition object.h:142