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 | 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(javax.servlet.ServletContext context,
Formatter formatter)
Constructor.
|
Constructor and Description |
---|
FileTarget(File file,
boolean append,
Formatter formatter)
Construct file target to write to a file with a formatter.
|
SafeFileTarget(File file,
boolean append,
Formatter formatter)
Construct file target to write to a file with a formatter.
|
StreamTarget(OutputStream outputStream,
Formatter formatter)
Constructor that writes to a stream and uses a particular formatter.
|
StreamTarget(OutputStream outputStream,
Formatter formatter,
String encoding)
Constructor that writes to a stream and uses a particular formatter.
|
WriterTarget(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.
|
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(InetAddress address,
int port,
Formatter formatter)
Create a output target with end point specified by address and port.
|
DatagramOutputTarget(InetAddress address,
int port,
Formatter formatter,
String encoding)
Create a output target with end point specified by address and port.
|
SMTPOutputLogTarget(javax.mail.Session session,
javax.mail.Address[] toAddresses,
javax.mail.Address fromAddress,
String subject,
int maxMsgSize,
Formatter formatter)
SMTPOutputLogTarget constructor.
|
SMTPOutputLogTarget(javax.mail.Session session,
javax.mail.Address[] toAddresses,
javax.mail.Address fromAddress,
String subject,
int maxMsgSize,
int maxDelayTime,
Formatter formatter)
SMTPOutputLogTarget constructor.
|
Copyright © 1997–2022. All rights reserved.