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 and Description |
---|---|
private class |
Hierarchy.InnerErrorHandler |
Modifier and Type | Field and Description |
---|---|
private ErrorHandler |
Logger.m_errorHandler |
private ErrorHandler |
Hierarchy.m_errorHandler |
Modifier and Type | Method and Description |
---|---|
void |
Hierarchy.setErrorHandler(ErrorHandler errorHandler)
Set the ErrorHandler associated with hierarchy.
|
void |
ErrorAware.setErrorHandler(ErrorHandler errorHandler)
Provide component with ErrorHandler.
|
Constructor and Description |
---|
Logger(ErrorHandler errorHandler,
LoggerListener loggerListener,
String category,
LogTarget[] logTargets,
Logger parent)
Protected constructor for use inside the logging toolkit.
|
Modifier and Type | Field and Description |
---|---|
private static ErrorHandler |
AbstractTarget.DEFAULT_ERROR_HANDLER |
private ErrorHandler |
AbstractTarget.m_errorHandler |
Modifier and Type | Method and Description |
---|---|
protected ErrorHandler |
AbstractTarget.getErrorHandler()
Helper method to retrieve ErrorHandler for subclasses.
|
Modifier and Type | Method and Description |
---|---|
void |
AsyncLogTarget.setErrorHandler(ErrorHandler errorHandler)
Provide component with ErrorHandler.
|
void |
AbstractTarget.setErrorHandler(ErrorHandler errorHandler)
Provide component with ErrorHandler.
|
Constructor and Description |
---|
AbstractTarget(ErrorHandler errorHandler)
AbstractTarget constructor.
|
Constructor and 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 and 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.