org.jscience.util.logging
Interface LogExceptionHandler
public interface LogExceptionHandler
A LogExceptionHandler is used to control the behavior of a Logger in regards
to occuring LogException events.
- See Also:
LogException,
Logger.setExceptionHandler(LogExceptionHandler)
EXCEPTION_IGNORER
static final LogExceptionHandler EXCEPTION_IGNORER
- used to simply ignore exceptions thrown by a logger
- See Also:
Logger.ignoreLogExceptions()
handleLogException
void handleLogException(Logger logger,
LogException ex,
LogWriter writer)
throws LogException
- is called when a logger encounteres a LogException while the
handler logs an entry. This method can control whether the exception is
propagated back to the Logger or ignored by the application.
- Throws:
LogException- See Also:
Logger.setExceptionHandler(LogExceptionHandler)