Uses of Interface
org.apache.log.LogTarget
-
Packages that use LogTarget 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. -
-
Uses of LogTarget in org.apache.log
Fields in org.apache.log declared as LogTarget Modifier and Type Field Description private LogTarget[]
Logger. m_logTargets
Methods in org.apache.log that return LogTarget Modifier and Type Method Description private LogTarget[]
Logger. safeGetLogTargets()
Retrieve logtarget array contained in logger.Methods in org.apache.log with parameters of type LogTarget 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.Constructors in org.apache.log with parameters of type LogTarget Constructor Description Logger(ErrorHandler errorHandler, LoggerListener loggerListener, java.lang.String category, LogTarget[] logTargets, Logger parent)
Protected constructor for use inside the logging toolkit. -
Uses of LogTarget in org.apache.log.output
Classes in org.apache.log.output that implement LogTarget 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.Fields in org.apache.log.output declared as LogTarget Modifier and Type Field Description private LogTarget
MemoryTarget. m_target
private LogTarget[]
PriorityFilteringTarget. m_targets
Log targets in filter chainprivate LogTarget
AbstractWrappingTarget. m_wrappedLogTarget
Methods in org.apache.log.output that return LogTarget Modifier and Type Method Description protected LogTarget
AbstractWrappingTarget. getLogTarget()
Return the target for subclassesMethods in org.apache.log.output with parameters of type LogTarget Modifier and Type Method Description void
PriorityFilteringTarget. addTarget(LogTarget target)
Add a new target to output chain.Constructors in org.apache.log.output with parameters of type LogTarget 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. -
Uses of LogTarget in org.apache.log.output.db
Classes in org.apache.log.output.db that implement LogTarget 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. -
Uses of LogTarget in org.apache.log.output.io
Classes in org.apache.log.output.io that implement LogTarget 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. -
Uses of LogTarget in org.apache.log.output.io.rotate
Classes in org.apache.log.output.io.rotate that implement LogTarget Modifier and Type Class Description class
RotatingFileTarget
This is a basic Output log target that writes to rotating files. -
Uses of LogTarget in org.apache.log.output.jms
Classes in org.apache.log.output.jms that implement LogTarget 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. -
Uses of LogTarget in org.apache.log.output.lf5
Classes in org.apache.log.output.lf5 that implement LogTarget Modifier and Type Class Description class
LF5LogTarget
ALogTarget
that displays log events using the LogFactor5 Swing GUI. -
Uses of LogTarget in org.apache.log.output.net
Classes in org.apache.log.output.net that implement LogTarget 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.
-