Inheritance diagram for OnlyOnceErrorHandler:

Public Member Functions | |
| void | setLogger (const LoggerPtr &logger) |
| void | activateOptions () |
| void | setOption (const String &name, const String &value) |
| void | error (const String &message, Exception &e, int errorCode) const |
| void | error (const String &message, Exception &e, int errorCode, const spi::LoggingEventPtr &event) const |
| void | error (const String &message) const |
| void | setAppender (const AppenderPtr &appender) |
| void | setBackupAppender (const AppenderPtr &appender) |
OnlyOnceErrorHandler implements log4cxx's default error handling policy which consists of emitting a message for the first error in an appender and ignoring all following errors.
The error message is printed on System.err.
This policy aims at protecting an otherwise working application from being flooded with error messages when logging fails
|
|
No options to activate. Implements OptionHandler. |
|
|
Print a the error message passed as parameter on Implements ErrorHandler. |
|
||||||||||||||||||||
|
Prints the message and the stack trace of the exception on |
|
||||||||||||||||
|
Prints the message and the stack trace of the exception on |
|
|
Does not do anything. Implements ErrorHandler. |
|
|
Does not do anything. Implements ErrorHandler. |
|
|
Does not do anything. Implements ErrorHandler. |
|
||||||||||||
|
Set The handling of each option depends on the OptionHandler instance. Some options may become active immediately whereas other may be activated only when activateOptions is called. Implements OptionHandler. |
1.3.9.1