18#ifndef _LOG4CXX_HELPERS_ONLY_ONCE_ERROR_HANDLER_H
19#define _LOG4CXX_HELPERS_ONLY_ONCE_ERROR_HANDLER_H
43 LOG4CXX_DECLARE_PRIVATE_MEMBER_PTR(OnlyOnceErrorHandlerPrivate, m_priv)
48#if 15 < LOG4CXX_ABI_VERSION
88 int errorCode) const override;
94 int errorCode, const
spi::LoggingEventPtr& event) const override;
115#if 15 < LOG4CXX_ABI_VERSION
base class for java-like objects.
Definition object.h:106
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 activateOptions(helpers::Pool &p) override
Activate the options that were previously set with calls to option setters.
void setBackupAppender(const AppenderPtr &appender) override
Does not do anything.
Appenders may delegate their error handling to ErrorHandlers.
Definition errorhandler.h:59
A string based interface to configure package components.
Definition optionhandler.h:35
Definition propertysetter.h:27
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:158
#define END_LOG4CXX_CAST_MAP()
Definition object.h:152
#define DECLARE_LOG4CXX_OBJECT(object)
Definition object.h:43
#define LOG4CXX_CAST_ENTRY_CHAIN(Interface)
Definition object.h:164
#define BEGIN_LOG4CXX_CAST_MAP()
Definition object.h:146