18 #ifndef _LOG4CXX_SPI_ERROR_HANDLER_H 19 #define _LOG4CXX_SPI_ERROR_HANDLER_H 22 #pragma warning ( push ) 23 #pragma warning ( disable: 4231 4251 4275 4786 ) 83 virtual void setLogger(
const LoggerPtr& logger) = 0;
91 virtual void error(
const LogString& message,
const std::exception& e,
92 int errorCode)
const = 0;
98 virtual void error(
const LogString& message)
const = 0;
109 virtual void error(
const LogString& message,
const std::exception& e,
116 virtual void setAppender(
const AppenderPtr& appender) = 0;
121 virtual void setBackupAppender(
const AppenderPtr& appender) = 0;
128 #if defined(_MSC_VER) 129 #pragma warning ( pop ) 132 #endif //_LOG4CXX_SPI_ERROR_HANDLER_H #define DECLARE_ABSTRACT_LOG4CXX_OBJECT(object)
Definition: object.h:26
Definition: errorhandler.h:44
#define LOG4CXX_CAST_ENTRY(Interface)
Definition: object.h:153
#define END_LOG4CXX_CAST_MAP()
Definition: object.h:147
std::shared_ptr< LoggingEvent > LoggingEventPtr
Definition: appender.h:37
#define BEGIN_LOG4CXX_CAST_MAP()
Definition: object.h:141
Definition: errorhandler.h:43
Definition: errorhandler.h:46
Definition: errorhandler.h:47
Definition: errorhandler.h:41
Definition: errorhandler.h:45
std::shared_ptr< Appender > AppenderPtr
Definition: basicconfigurator.h:28
A string based interface to configure package components.
Definition: optionhandler.h:34
LOG4CXX_PTR_DEF(LoggerRepository)
Appenders may delegate their error handling to ErrorHandlers.
Definition: errorhandler.h:64
Definition: errorhandler.h:36
std::shared_ptr< Logger > LoggerPtr
Definition: defaultloggerfactory.h:26
Definition: appender.h:32
std::basic_string< logchar > LogString
Definition: logstring.h:66
Definition: errorhandler.h:42