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.lf5 |
LogFactor5 (Swing GUI) based LogTarget.
|
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(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.
|
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.
|
Modifier and Type | Field and Description |
---|---|
private static Formatter |
LF5LogTarget.c_defaultContextFormatter
Default context map formatter
|
private Formatter |
LF5LogTarget.m_contextFormatter
Format for context maps
|
Modifier and Type | Method and Description |
---|---|
void |
LF5LogTarget.setNDCFormatter(Formatter formatter)
Sets the
Formatter that will be used to produce the "NDC" (nested diagnostic
context) text on the GUI. |
Constructor and Description |
---|
LogKitLogRecord(LogEvent event,
Formatter fmt)
Create a LogFactor record from a LogKit event
|
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(Session session,
Address[] toAddresses,
Address fromAddress,
String subject,
int maxMsgSize,
Formatter formatter)
SMTPOutputLogTarget constructor.
|
SMTPOutputLogTarget(Session session,
Address[] toAddresses,
Address fromAddress,
String subject,
int maxMsgSize,
int maxDelayTime,
Formatter formatter)
SMTPOutputLogTarget constructor.
|
Copyright © 2003-2004 The Apache Software Foundation. All Rights Reserved.