| 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 and Description |
|---|---|
protected ErrorHandler |
AppenderSkeleton.errorHandler
It is assumed and enforced that errorHandler is never null.
|
| Modifier and Type | Method and 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 and 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 and 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 and Description |
|---|---|
protected ErrorHandler |
QuietWriter.errorHandler |
| Modifier and Type | Method and Description |
|---|---|
void |
QuietWriter.setErrorHandler(ErrorHandler eh) |
| Constructor and Description |
|---|
CountingQuietWriter(Writer writer,
ErrorHandler eh) |
QuietWriter(Writer writer,
ErrorHandler errorHandler) |
SyslogQuietWriter(Writer writer,
int syslogFacility,
ErrorHandler eh) |
| Modifier and Type | Class and Description |
|---|---|
class |
FallbackErrorHandler
The
FallbackErrorHandler implements the ErrorHandler interface such that a secondary appender may be
specified. |
Copyright © 1999–2024 QOS.CH Sarl (Switzerland). All rights reserved.