Package | Description |
---|---|
org.apache.log |
Avalon LogKit is the logging framework used throughout
the Avalon project.
|
org.apache.log.output |
This package contains some useful output destination LogTargets.
|
org.apache.log.output.jms |
JMS based output destination LogTargets.
|
org.apache.log.util |
Utilities suppporting the logging framework.
|
Modifier and Type | Class | Description |
---|---|---|
private class |
Hierarchy.InnerErrorHandler |
Modifier and Type | Field | Description |
---|---|---|
private ErrorHandler |
Hierarchy.m_errorHandler |
|
private ErrorHandler |
Logger.m_errorHandler |
Modifier and Type | Method | Description |
---|---|---|
void |
ErrorAware.setErrorHandler(ErrorHandler errorHandler) |
Provide component with ErrorHandler.
|
void |
Hierarchy.setErrorHandler(ErrorHandler errorHandler) |
Set the ErrorHandler associated with hierarchy.
|
Constructor | Description |
---|---|
Logger(ErrorHandler errorHandler,
LoggerListener loggerListener,
java.lang.String category,
LogTarget[] logTargets,
Logger parent) |
Protected constructor for use inside the logging toolkit.
|
Modifier and Type | Field | Description |
---|---|---|
private static ErrorHandler |
AbstractTarget.DEFAULT_ERROR_HANDLER |
|
private ErrorHandler |
AbstractTarget.m_errorHandler |
Modifier and Type | Method | Description |
---|---|---|
protected ErrorHandler |
AbstractTarget.getErrorHandler() |
Helper method to retrieve ErrorHandler for subclasses.
|
Modifier and Type | Method | Description |
---|---|---|
void |
AbstractTarget.setErrorHandler(ErrorHandler errorHandler) |
Provide component with ErrorHandler.
|
void |
AsyncLogTarget.setErrorHandler(ErrorHandler errorHandler) |
Provide component with ErrorHandler.
|
Constructor | Description |
---|---|
AbstractTarget(ErrorHandler errorHandler) |
AbstractTarget constructor.
|
Constructor | Description |
---|---|
AbstractJMSTarget(MessageBuilder builder,
ErrorHandler errorHandler) |
|
JMSQueueTarget(MessageBuilder builder,
javax.jms.QueueConnectionFactory factory,
javax.jms.Queue queue,
ErrorHandler handler) |
|
JMSTopicTarget(MessageBuilder builder,
javax.jms.TopicConnectionFactory factory,
javax.jms.Topic topic,
ErrorHandler handler) |
Modifier and Type | Class | Description |
---|---|---|
class |
DefaultErrorHandler |
Handle unrecoverable errors that occur during logging by
writing to standard error.
|
Copyright © 2003-2004 The Apache Software Foundation. All Rights Reserved.