Uses of Interface
org.apache.log.LogTarget
Packages that use LogTarget
Package
Description
Avalon LogKit is the logging framework used throughout
the Avalon project.
This package contains some useful output destination LogTargets.
Database output destination LogTargets.
Stream anf file based output destination LogTargets.
Log file rotation policies.
JMS based output destination LogTargets.
Datagram, Socket and SMTP output destination LogTargets.
-
Uses of LogTarget in org.apache.log
Fields in org.apache.log declared as LogTargetMethods in org.apache.log that return LogTargetModifier and TypeMethodDescriptionprivate LogTarget[]
Logger.safeGetLogTargets()
Retrieve logtarget array contained in logger.Methods in org.apache.log with parameters of type LogTargetModifier and TypeMethodDescriptionprivate final void
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 LogTargetModifierConstructorDescription(package private)
Logger
(ErrorHandler errorHandler, LoggerListener loggerListener, 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 LogTargetModifier and TypeClassDescriptionclass
Abstract output target.class
Abstract target.class
Abstract base class for targets that wrap other targets.class
An asynchronous LogTarget that sends entries on in another thread.class
Output LogEvents into an buffer in memory.class
A output target that does nothing.class
This is a priority filtering target that forwards only requests to other (wrapped) targets that have the same or a higher priority.class
Generic logging interface.Fields in org.apache.log.output declared as LogTargetModifier and TypeFieldDescriptionprivate LogTarget
MemoryTarget.m_target
private LogTarget[]
PriorityFilteringTarget.m_targets
Log targets in filter chainprivate final LogTarget
AbstractWrappingTarget.m_wrappedLogTarget
Methods in org.apache.log.output that return LogTargetModifier and TypeMethodDescriptionprotected final LogTarget
AbstractWrappingTarget.getLogTarget()
Return the target for subclassesMethods in org.apache.log.output with parameters of type LogTargetModifier and TypeMethodDescriptionvoid
Add a new target to output chain.Constructors in org.apache.log.output with parameters of type LogTargetModifierConstructorDescriptionAbstractWrappingTarget
(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 LogTargetModifier and TypeClassDescriptionclass
Abstract JDBC target.class
The basic DB target for configurable output formats.class
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 LogTargetModifier and TypeClassDescriptionclass
A basic target that writes to a File.class
A target that will open and close a file for each logevent.class
A basic target that writes to an OutputStream.class
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 LogTargetModifier and TypeClassDescriptionclass
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 LogTargetModifier and TypeClassDescriptionclass
A target that writes to a JMS Topic.class
A target that writes to a JMS Queue.class
A target that writes to a JMS Topic. -
Uses of LogTarget in org.apache.log.output.net
Classes in org.apache.log.output.net that implement LogTargetModifier and TypeClassDescriptionclass
A datagram output target.class
Logkit output target that logs data via SMTP.class
SocketOutputTarget Useful for writing the output to a TCP/IP client socket.