程序包 | 说明 |
---|---|
com.fr.third.apache.log4j |
The main log4j package.
|
com.fr.third.apache.log4j.helpers |
This package is used internally.
|
com.fr.third.apache.log4j.varia |
Contains various appenders, filters and other odds and ends.
|
限定符和类型 | 字段和说明 |
---|---|
protected ErrorHandler |
AppenderSkeleton.errorHandler
It is assumed and enforced that errorHandler is never null.
|
限定符和类型 | 方法和说明 |
---|---|
ErrorHandler |
AppenderSkeleton.getErrorHandler()
Return the currently set
ErrorHandler for this
Appender. |
ErrorHandler |
Appender.getErrorHandler()
Returns the
ErrorHandler for this appender. |
限定符和类型 | 方法和说明 |
---|---|
void |
WriterAppender.setErrorHandler(ErrorHandler eh)
Set the
ErrorHandler for this WriterAppender and also the
underlying QuietWriter if any. |
void |
AppenderSkeleton.setErrorHandler(ErrorHandler eh)
Set the
ErrorHandler for this Appender. |
void |
Appender.setErrorHandler(ErrorHandler errorHandler)
Set the
ErrorHandler for this appender. |
限定符和类型 | 类和说明 |
---|---|
class |
OnlyOnceErrorHandler
The
OnlyOnceErrorHandler 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. |
限定符和类型 | 字段和说明 |
---|---|
protected ErrorHandler |
QuietWriter.errorHandler |
限定符和类型 | 方法和说明 |
---|---|
void |
QuietWriter.setErrorHandler(ErrorHandler eh) |
构造器和说明 |
---|
CountingQuietWriter(java.io.Writer writer,
ErrorHandler eh) |
QuietWriter(java.io.Writer writer,
ErrorHandler errorHandler) |
SyslogQuietWriter(java.io.Writer writer,
int syslogFacility,
ErrorHandler eh) |
限定符和类型 | 类和说明 |
---|---|
class |
FallbackErrorHandler
The
FallbackErrorHandler implements the ErrorHandler
interface such that a secondary appender may be specified. |