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.db |
Database output destination LogTargets.
|
org.apache.log.output.io |
Stream anf file based output destination LogTargets.
|
org.apache.log.output.io.rotate |
Log file rotation policies.
|
org.apache.log.output.jms |
JMS based output destination LogTargets.
|
org.apache.log.output.lf5 |
LogFactor5 (Swing GUI) based LogTarget.
|
org.apache.log.output.net |
Datagram, Socket and SMTP output destination LogTargets.
|
Modifier and Type | Field | Description |
---|---|---|
private LogTarget[] |
Logger.m_logTargets |
Modifier and Type | Method | Description |
---|---|---|
private LogTarget[] |
Logger.safeGetLogTargets() |
Retrieve logtarget array contained in logger.
|
Modifier and Type | Method | Description |
---|---|---|
private void |
Logger.fireEvent(LogEvent event,
LogTarget[] targets) |
|
void |
Hierarchy.setDefaultLogTarget(LogTarget target) |
Set the default log target for hierarchy.
|
void |
Hierarchy.setDefaultLogTargets(LogTarget[] targets) |
Set the default log targets for this hierarchy.
|
void |
Logger.setLogTargets(LogTarget[] logTargets) |
Set the log targets for this logger.
|
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 | Class | Description |
---|---|---|
class |
AbstractOutputTarget |
Abstract output target.
|
class |
AbstractTarget |
Abstract target.
|
class |
AbstractWrappingTarget |
Abstract base class for targets that wrap other targets.
|
class |
AsyncLogTarget |
An asynchronous LogTarget that sends entries on in another thread.
|
class |
MemoryTarget |
Output LogEvents into an buffer in memory.
|
class |
NullOutputLogTarget |
A output target that does nothing.
|
class |
PriorityFilteringTarget |
This is a priority filtering target that forwards only requests
to other (wrapped) targets that have the same or a higher
priority.
|
class |
ServletOutputLogTarget |
Generic logging interface.
|
Modifier and Type | Field | Description |
---|---|---|
private LogTarget |
MemoryTarget.m_target |
|
private LogTarget[] |
PriorityFilteringTarget.m_targets |
Log targets in filter chain
|
private LogTarget |
AbstractWrappingTarget.m_wrappedLogTarget |
Modifier and Type | Method | Description |
---|---|---|
protected LogTarget |
AbstractWrappingTarget.getLogTarget() |
Return the target for subclasses
|
Modifier and Type | Method | Description |
---|---|---|
void |
PriorityFilteringTarget.addTarget(LogTarget target) |
Add a new target to output chain.
|
Constructor | Description |
---|---|
AbstractWrappingTarget(LogTarget logTarget) |
Creation of a new wrapping log target.
|
AbstractWrappingTarget(LogTarget logTarget,
boolean closeWrappedTarget) |
Creation of a new wrapping log target.
|
AsyncLogTarget(LogTarget logTarget) |
Creation of a new async log target.
|
AsyncLogTarget(LogTarget logTarget,
boolean closeTarget) |
Creation of a new async log target.
|
AsyncLogTarget(LogTarget logTarget,
int queueSize) |
Creation of a new async log target.
|
AsyncLogTarget(LogTarget logTarget,
int queueSize,
boolean closeTarget) |
Creation of a new async log target.
|
MemoryTarget(LogTarget target,
int size,
Priority threshold) |
Creation of a new instance of the memory target.
|
Modifier and Type | Class | Description |
---|---|---|
class |
AbstractJDBCTarget |
Abstract JDBC target.
|
class |
DefaultJDBCTarget |
The basic DB target for configurable output formats.
|
class |
NormalizedJDBCTarget |
JDBC target that writes to normalized tables.
|
Modifier and Type | Class | Description |
---|---|---|
class |
FileTarget |
A basic target that writes to a File.
|
class |
SafeFileTarget |
A target that will open and close a file for each logevent.
|
class |
StreamTarget |
A basic target that writes to an OutputStream.
|
class |
WriterTarget |
This target outputs to a writer.
|
Modifier and Type | Class | Description |
---|---|---|
class |
RotatingFileTarget |
This is a basic Output log target that writes to rotating files.
|
Modifier and Type | Class | Description |
---|---|---|
class |
AbstractJMSTarget |
A target that writes to a JMS Topic.
|
class |
JMSQueueTarget |
A target that writes to a JMS Queue.
|
class |
JMSTopicTarget |
A target that writes to a JMS Topic.
|
Modifier and Type | Class | Description |
---|---|---|
class |
LF5LogTarget |
A
LogTarget that displays log events using the
LogFactor5
Swing GUI. |
Modifier and Type | Class | Description |
---|---|---|
class |
DatagramOutputTarget |
A datagram output target.
|
class |
SMTPOutputLogTarget |
Logkit output target that logs data via SMTP.
|
class |
SocketOutputTarget |
SocketOutputTarget
Useful for writing the output to a TCP/IP client socket.
|
Copyright © 2003-2004 The Apache Software Foundation. All Rights Reserved.