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.
|
Modifier and Type | Field | Description |
---|---|---|
protected ErrorHandler |
AppenderSkeleton.errorHandler |
It is assumed and enforced that errorHandler is never null.
|
Modifier and Type | Method | Description |
---|---|---|
ErrorHandler |
Appender.getErrorHandler() |
Returns the
ErrorHandler for this appender. |
ErrorHandler |
AppenderSkeleton.getErrorHandler() |
Return the currently set
ErrorHandler for this
Appender. |
Modifier and Type | Method | Description |
---|---|---|
void |
Appender.setErrorHandler(ErrorHandler errorHandler) |
Set the
ErrorHandler for this appender. |
void |
AppenderSkeleton.setErrorHandler(ErrorHandler eh) |
Set the
ErrorHandler for this Appender. |
void |
WriterAppender.setErrorHandler(ErrorHandler eh) |
Set the
ErrorHandler for this WriterAppender and also the
underlying QuietWriter if any. |
Modifier and Type | Class | Description |
---|---|---|
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. |
Modifier and Type | Field | Description |
---|---|---|
protected ErrorHandler |
QuietWriter.errorHandler |
Modifier and Type | Method | Description |
---|---|---|
void |
QuietWriter.setErrorHandler(ErrorHandler eh) |
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) |
Modifier and Type | Class | Description |
---|---|---|
class |
FallbackErrorHandler |
The
FallbackErrorHandler implements the ErrorHandler
interface such that a secondary appender may be specified. |
Copyright 2000-2007 Apache Software Foundation.