Uses of Interface
org.apache.log4j.spi.ErrorHandler
-
Packages that use ErrorHandler Package Description org.apache.log4j The main log4j package.org.apache.log4j.helpers This package is used internally.org.apache.log4j.varia Contains various appenders, filters and other odds and ends. -
-
Uses of ErrorHandler in org.apache.log4j
Fields in org.apache.log4j declared as ErrorHandler Modifier and Type Field Description protected ErrorHandler
AppenderSkeleton. errorHandler
It is assumed and enforced that errorHandler is never null.Methods in org.apache.log4j that return ErrorHandler Modifier and Type Method Description ErrorHandler
Appender. getErrorHandler()
Returns theErrorHandler
for this appender.ErrorHandler
AppenderSkeleton. getErrorHandler()
Return the currently setErrorHandler
for this Appender.Methods in org.apache.log4j with parameters of type ErrorHandler Modifier and Type Method Description private void
PropertyConfigurator. parseErrorHandler(ErrorHandler eh, java.lang.String errorHandlerPrefix, java.util.Properties props, LoggerRepository hierarchy)
void
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 ErrorHandler Modifier and Type Class Description class
OnlyOnceErrorHandler
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 ErrorHandler Modifier and Type Field Description protected ErrorHandler
QuietWriter. errorHandler
Methods in org.apache.log4j.helpers with parameters of type ErrorHandler Modifier and Type Method Description void
QuietWriter. setErrorHandler(ErrorHandler eh)
Constructors in org.apache.log4j.helpers with parameters of type ErrorHandler Constructor Description CountingQuietWriter(java.io.Writer writer, ErrorHandler eh)
QuietWriter(java.io.Writer writer, ErrorHandler errorHandler)
SyslogQuietWriter(java.io.Writer writer, int syslogFacility, ErrorHandler eh)
-
Uses of ErrorHandler in org.apache.log4j.varia
Classes in org.apache.log4j.varia that implement ErrorHandler Modifier and Type Class Description class
FallbackErrorHandler
TheFallbackErrorHandler
implements the ErrorHandler interface such that a secondary appender may be specified.
-