Uses of Interface
org.apache.log.format.Formatter
Packages that use Formatter
Package
Description
This package contains formmaters that serialize LogEvents to strings.
This package contains some useful output destination LogTargets.
Stream anf file based output destination LogTargets.
Log file rotation policies.
JMS based output destination LogTargets.
LogFactor5 (Swing GUI) based LogTarget.
Datagram, Socket and SMTP output destination LogTargets.
-
Uses of Formatter in org.apache.log.format
Classes in org.apache.log.format that implement FormatterModifier and TypeClassDescriptionclass
Formatter especially designed for debugging applications.class
This formater formats the LogEvents according to a input pattern string.class
Basic formatter that just returns raw message string and ignores remainder of LogEvent.class
A formatter that serializes in the format originally used by BSD syslog daemon.class
Basic XML formatter that writes out a basic XML-ified log event. -
Uses of Formatter in org.apache.log.output
Fields in org.apache.log.output declared as FormatterModifier and TypeFieldDescriptionprivate Formatter
AbstractOutputTarget.m_formatter
Formatter for target.Methods in org.apache.log.output that return FormatterModifier and TypeMethodDescriptionprotected Formatter
AbstractOutputTarget.getFormatter()
Returns the Formatter.Constructors in org.apache.log.output with parameters of type FormatterModifierConstructorDescriptionAbstractOutputTarget
(Formatter formatter) Creation of a new abstract output target instance.ServletOutputLogTarget
(javax.servlet.ServletContext context, Formatter formatter) Constructor. -
Uses of Formatter in org.apache.log.output.io
Constructors in org.apache.log.output.io with parameters of type FormatterModifierConstructorDescriptionFileTarget
(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. -
Uses of Formatter in org.apache.log.output.io.rotate
Constructors in org.apache.log.output.io.rotate with parameters of type FormatterModifierConstructorDescriptionRotatingFileTarget
(boolean append, Formatter formatter, RotateStrategy rotateStrategy, FileStrategy fileStrategy) Construct RotatingFileTarget object.RotatingFileTarget
(Formatter formatter, RotateStrategy rotateStrategy, FileStrategy fileStrategy) Construct RotatingFileTarget object. -
Uses of Formatter in org.apache.log.output.jms
Fields in org.apache.log.output.jms declared as FormatterConstructors in org.apache.log.output.jms with parameters of type FormatterModifierConstructorDescriptionTextMessageBuilder
(Formatter formatter) Creation of a new text message builder.TextMessageBuilder
(PropertyInfo[] properties, Formatter formatter) Creation of a new text message builder. -
Uses of Formatter in org.apache.log.output.lf5
Fields in org.apache.log.output.lf5 declared as FormatterModifier and TypeFieldDescriptionprivate static Formatter
LF5LogTarget.c_defaultContextFormatter
Default context map formatterprivate Formatter
LF5LogTarget.m_contextFormatter
Format for context mapsMethods in org.apache.log.output.lf5 with parameters of type FormatterModifier and TypeMethodDescriptionvoid
LF5LogTarget.setNDCFormatter
(Formatter formatter) Sets theFormatter
that will be used to produce the "NDC" (nested diagnostic context) text on the GUI.Constructors in org.apache.log.output.lf5 with parameters of type FormatterModifierConstructorDescriptionLogKitLogRecord
(LogEvent event, Formatter fmt) Create a LogFactor record from a LogKit event -
Uses of Formatter in org.apache.log.output.net
Constructors in org.apache.log.output.net with parameters of type FormatterModifierConstructorDescriptionDatagramOutputTarget
(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, int maxDelayTime, Formatter formatter) SMTPOutputLogTarget constructor.SMTPOutputLogTarget
(javax.mail.Session session, javax.mail.Address[] toAddresses, javax.mail.Address fromAddress, String subject, int maxMsgSize, Formatter formatter) SMTPOutputLogTarget constructor.