Package | Description |
---|---|
org.apache.log.format |
This package contains formmaters that serialize LogEvents to strings.
|
org.apache.log.output |
This package contains some useful 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.net |
Datagram, Socket and SMTP output destination LogTargets.
|
Modifier and Type | Class and Description |
---|---|
class |
ExtendedPatternFormatter
Formatter especially designed for debugging applications.
|
class |
PatternFormatter
This formater formats the LogEvents according to a input pattern
string.
|
class |
RawFormatter
Basic formatter that just returns raw
message string and ignores remainder of LogEvent.
|
class |
SyslogFormatter
A formatter that serializes in the format originally
used by BSD syslog daemon.
|
class |
XMLFormatter
Basic XML formatter that writes out a basic XML-ified log event.
|
Modifier and Type | Field and Description |
---|---|
private Formatter |
AbstractOutputTarget.m_formatter
Formatter for target.
|
Modifier and Type | Method and Description |
---|---|
protected Formatter |
AbstractOutputTarget.getFormatter()
Returns the Formatter.
|
Constructor and Description |
---|
AbstractOutputTarget(Formatter formatter)
Creation of a new abstract output target instance.
|
ServletOutputLogTarget(ServletContext context,
Formatter formatter)
Constructor.
|
Constructor and Description |
---|
FileTarget(java.io.File file,
boolean append,
Formatter formatter)
Construct file target to write to a file with a formatter.
|
SafeFileTarget(java.io.File file,
boolean append,
Formatter formatter)
Construct file target to write to a file with a formatter.
|
StreamTarget(java.io.OutputStream outputStream,
Formatter formatter)
Constructor that writes to a stream and uses a particular formatter.
|
StreamTarget(java.io.OutputStream outputStream,
Formatter formatter,
java.lang.String encoding)
Constructor that writes to a stream and uses a particular formatter.
|
WriterTarget(java.io.Writer writer,
Formatter formatter)
Construct target with a specific writer and formatter.
|
Constructor and Description |
---|
RotatingFileTarget(boolean append,
Formatter formatter,
RotateStrategy rotateStrategy,
FileStrategy fileStrategy)
Construct RotatingFileTarget object.
|
RotatingFileTarget(Formatter formatter,
RotateStrategy rotateStrategy,
FileStrategy fileStrategy)
Construct RotatingFileTarget object.
|
Modifier and Type | Field and Description |
---|---|
private Formatter |
TextMessageBuilder.m_formatter |
Constructor and Description |
---|
TextMessageBuilder(Formatter formatter)
Creation of a new text message builder.
|
TextMessageBuilder(PropertyInfo[] properties,
Formatter formatter)
Creation of a new text message builder.
|
Constructor and Description |
---|
DatagramOutputTarget(java.net.InetAddress address,
int port,
Formatter formatter)
Create a output target with end point specified by address and port.
|
DatagramOutputTarget(java.net.InetAddress address,
int port,
Formatter formatter,
java.lang.String encoding)
Create a output target with end point specified by address and port.
|
SMTPOutputLogTarget(Session session,
Address[] toAddresses,
Address fromAddress,
java.lang.String subject,
int maxMsgSize,
Formatter formatter)
SMTPOutputLogTarget constructor.
|
SMTPOutputLogTarget(Session session,
Address[] toAddresses,
Address fromAddress,
java.lang.String subject,
int maxMsgSize,
int maxDelayTime,
Formatter formatter)
SMTPOutputLogTarget constructor.
|