Uses of Interface
org.apache.log4j.spi.ErrorHandler
Packages that use ErrorHandler
Package
Description
The main log4j package.
This package is used internally.
Contains various appenders, filters and other odds and ends.
-
Uses of ErrorHandler in org.apache.log4j
Fields in org.apache.log4j declared as ErrorHandlerModifier and TypeFieldDescriptionprotected ErrorHandler
AppenderSkeleton.errorHandler
It is assumed and enforced that errorHandler is never null.Methods in org.apache.log4j that return ErrorHandlerModifier and TypeMethodDescriptionAppender.getErrorHandler()
Returns theErrorHandler
for this appender.AppenderSkeleton.getErrorHandler()
Return the currently setErrorHandler
for this Appender.Methods in org.apache.log4j with parameters of type ErrorHandlerModifier and TypeMethodDescriptionvoid
Appender.setErrorHandler
(ErrorHandler errorHandler) Set theErrorHandler
for this appender.void
AppenderSkeleton.setErrorHandler
(ErrorHandler eh) Set theErrorHandler
for this Appender.void
WriterAppender.setErrorHandler
(ErrorHandler eh) Set theErrorHandler
for this WriterAppender and also the underlyingQuietWriter
if any. -
Uses of ErrorHandler in org.apache.log4j.helpers
Classes in org.apache.log4j.helpers that implement ErrorHandlerModifier and TypeClassDescriptionclass
TheOnlyOnceErrorHandler
implements log4j's default error handling policy which consists of emitting a message for the first error in an appender and ignoring all following errors.Fields in org.apache.log4j.helpers declared as ErrorHandlerMethods in org.apache.log4j.helpers with parameters of type ErrorHandlerConstructors in org.apache.log4j.helpers with parameters of type ErrorHandlerModifierConstructorDescriptionCountingQuietWriter
(Writer writer, ErrorHandler eh) QuietWriter
(Writer writer, ErrorHandler errorHandler) SyslogQuietWriter
(Writer writer, int syslogFacility, ErrorHandler eh) -
Uses of ErrorHandler in org.apache.log4j.varia
Classes in org.apache.log4j.varia that implement ErrorHandlerModifier and TypeClassDescriptionclass
TheFallbackErrorHandler
implements the ErrorHandler interface such that a secondary appender may be specified.