18 #ifndef _LOG4CXX_VARIA_FALLBACK_ERROR_HANDLER_H 19 #define _LOG4CXX_VARIA_FALLBACK_ERROR_HANDLER_H 21 #include <log4cxx/spi/errorhandler.h> 22 #include <log4cxx/helpers/objectimpl.h> 23 #include <log4cxx/appender.h> 24 #include <log4cxx/logger.h> 47 std::vector<LoggerPtr> loggers;
51 BEGIN_LOG4CXX_CAST_MAP()
54 END_LOG4CXX_CAST_MAP()
58 void releaseRef()
const;
72 void setOption(
const LogString& option,
const LogString& value);
79 void error(
const LogString& message,
const std::exception& e,
86 void error(
const LogString& message,
const std::exception& e,
94 void error(
const LogString& )
const {}
119 #endif //_LOG4CXX_VARIA_FALLBACK_ERROR_HANDLER_H void error(const LogString &) const
Print a the error message passed as parameter on System.err.
Definition: fallbackerrorhandler.h:94
Implementation class for Object.
Definition: objectimpl.h:28
The FallbackErrorHandler implements the ErrorHandler interface such that a secondary appender may be ...
Definition: fallbackerrorhandler.h:40
Appenders may delegate their error handling to ErrorHandlers.
Definition: errorhandler.h:64
const AppenderPtr & getBackupAppender() const
Return the backup appender.
Definition: fallbackerrorhandler.h:99
Definition: appender.h:33