Uses of Interface
org.apache.log.format.Formatter
-
Packages that use Formatter 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. -
-
Uses of Formatter in org.apache.log.format
Classes in org.apache.log.format that implement Formatter Modifier and Type Class Description classExtendedPatternFormatterFormatter especially designed for debugging applications.classPatternFormatterThis formater formats the LogEvents according to a input pattern string.classRawFormatterBasic formatter that just returns raw message string and ignores remainder of LogEvent.classSyslogFormatterA formatter that serializes in the format originally used by BSD syslog daemon.classXMLFormatterBasic 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 Formatter Modifier and Type Field Description private FormatterAbstractOutputTarget. m_formatterFormatter for target.Methods in org.apache.log.output that return Formatter Modifier and Type Method Description protected FormatterAbstractOutputTarget. getFormatter()Returns the Formatter.Constructors in org.apache.log.output with parameters of type Formatter Constructor Description AbstractOutputTarget(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 Formatter Constructor 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. -
Uses of Formatter in org.apache.log.output.io.rotate
Constructors in org.apache.log.output.io.rotate with parameters of type Formatter Constructor Description RotatingFileTarget(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 Formatter Modifier and Type Field Description private FormatterTextMessageBuilder. m_formatterConstructors in org.apache.log.output.jms with parameters of type Formatter Constructor Description TextMessageBuilder(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.net
Constructors in org.apache.log.output.net with parameters of type Formatter Constructor 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(javax.mail.Session session, javax.mail.Address[] toAddresses, javax.mail.Address fromAddress, java.lang.String subject, int maxMsgSize, int maxDelayTime, Formatter formatter)SMTPOutputLogTarget constructor.SMTPOutputLogTarget(javax.mail.Session session, javax.mail.Address[] toAddresses, javax.mail.Address fromAddress, java.lang.String subject, int maxMsgSize, Formatter formatter)SMTPOutputLogTarget constructor.
-