18 #ifndef _LOG4CXX_VARIA_FALLBACK_ERROR_HANDLER_H 19 #define _LOG4CXX_VARIA_FALLBACK_ERROR_HANDLER_H 45 AppenderWeakPtr backup;
46 AppenderWeakPtr primary;
47 std::vector<LoggerPtr> loggers;
76 void error(
const LogString& message,
const std::exception& e,
83 void error(
const LogString& message,
const std::exception& e,
108 #endif //_LOG4CXX_VARIA_FALLBACK_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
#define BEGIN_LOG4CXX_CAST_MAP()
Definition: object.h:136
void error(const LogString &) const
Print a the error message passed as parameter on System.err.
Definition: fallbackerrorhandler.h:91
#define DECLARE_LOG4CXX_OBJECT(object)
Definition: object.h:39
The FallbackErrorHandler implements the ErrorHandler interface such that a secondary appender may be ...
Definition: fallbackerrorhandler.h:40
base class for java-like objects.
Definition: object.h:101
std::shared_ptr< Appender > AppenderPtr
Definition: basicconfigurator.h:28
#define LOG4CXX_CAST_ENTRY_CHAIN(Interface)
Definition: object.h:154
LOG4CXX_PTR_DEF(FallbackErrorHandler)
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