18 #ifndef _LOG4CXX_HELPERS_ONLY_ONCE_ERROR_HANDLER_H 19 #define _LOG4CXX_HELPERS_ONLY_ONCE_ERROR_HANDLER_H 25 #pragma warning ( push ) 26 #pragma warning (disable : 4251) // ::std::exception needs to have dll-interface 50 mutable bool firstTime;
77 void error(
const LogString& message,
const std::exception& e,
83 void error(
const LogString& message,
const std::exception& e,
90 void error(
const LogString& message)
const;
100 void setBackupAppender(
const AppenderPtr& appender);
105 #if defined(_MSC_VER) 106 #pragma warning (pop) 109 #endif //_LOG4CXX_HELPERS_ONLY_ONCE_ERROR_HANDLER_H #define LOG4CXX_CAST_ENTRY(Interface)
Definition: object.h:148
#define END_LOG4CXX_CAST_MAP()
Definition: object.h:142
std::shared_ptr< LoggingEvent > LoggingEventPtr
Definition: appender.h:37
The OnlyOnceErrorHandler implements log4cxx's default error handling policy which consists of emittin...
Definition: onlyonceerrorhandler.h:43
#define BEGIN_LOG4CXX_CAST_MAP()
Definition: object.h:136
#define DECLARE_LOG4CXX_OBJECT(object)
Definition: object.h:39
base class for java-like objects.
Definition: object.h:101
std::shared_ptr< Appender > AppenderPtr
Definition: basicconfigurator.h:28
A string based interface to configure package components.
Definition: optionhandler.h:34
Appenders may delegate their error handling to ErrorHandlers.
Definition: errorhandler.h:64
std::shared_ptr< Logger > LoggerPtr
Definition: defaultloggerfactory.h:26
Definition: appender.h:32
std::basic_string< logchar > LogString
Definition: logstring.h:66