Uses of Interface
org.apache.log.format.Formatter

Packages that use Formatter
org.apache.avalon.excalibur.logger.factory   
org.apache.avalon.framework.logger Abstract logging framework supporting pluggable logging mechanisms including LogKit, Log4J and the JDK 1.4 logging infrastructure. 
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. 
 

Uses of Formatter in org.apache.avalon.excalibur.logger.factory
 

Methods in org.apache.avalon.excalibur.logger.factory that return Formatter
protected  Formatter StreamTargetFactory.getFormatter(Configuration conf)
           
protected  Formatter FileTargetFactory.getFormatter(Configuration conf)
           
protected  Formatter DatagramTargetFactory.getFormatter(Configuration conf)
          Returns the Formatter
protected  Formatter ConsoleTargetFactory.getFormatter(Configuration conf)
           
protected  Formatter SMTPTargetFactory.getFormatter(Configuration config)
          Helper method to obtain a formatter for this factory.
 Formatter FormatterFactory.createFormatter(Configuration conf)
           
protected  Formatter ServletTargetFactory.getFormatter(Configuration conf)
           
protected  Formatter JMSTargetFactory.getFormatter(Configuration conf)
           
 

Uses of Formatter in org.apache.avalon.framework.logger
 

Classes in org.apache.avalon.framework.logger that implement Formatter
 class AvalonFormatter
          This formatter extends ExtendedPatternFormatter so that CascadingExceptions are formatted with all nested exceptions.
 

Uses of Formatter in org.apache.log.format
 

Classes in org.apache.log.format that implement Formatter
 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.
 

Uses of Formatter in org.apache.log.output
 

Methods in org.apache.log.output that return Formatter
protected  Formatter AbstractOutputTarget.getFormatter()
          Returns the Formatter.
 

Constructors in org.apache.log.output with parameters of type Formatter
ServletOutputLogTarget(javax.servlet.ServletContext context, Formatter formatter)
          Constructor.
AbstractOutputTarget(Formatter formatter)
          Creation of a new abstract output target instance.
 

Uses of Formatter in org.apache.log.output.io
 

Constructors in org.apache.log.output.io with parameters of type Formatter
WriterTarget(java.io.Writer writer, Formatter formatter)
          Construct target with a specific writer and formatter.
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, java.lang.String encoding)
          Constructor that writes to a stream and uses a particular formatter.
StreamTarget(java.io.OutputStream outputStream, Formatter formatter)
          Constructor that writes to a stream and uses a particular formatter.
 

Uses of Formatter in org.apache.log.output.io.rotate
 

Constructors in org.apache.log.output.io.rotate with parameters of type Formatter
RotatingFileTarget(Formatter formatter, RotateStrategy rotateStrategy, FileStrategy fileStrategy)
          Construct RotatingFileTarget object.
RotatingFileTarget(boolean append, Formatter formatter, RotateStrategy rotateStrategy, FileStrategy fileStrategy)
          Construct RotatingFileTarget object.
 

Uses of Formatter in org.apache.log.output.jms
 

Constructors in org.apache.log.output.jms with parameters of type Formatter
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.lf5
 

Methods in org.apache.log.output.lf5 with parameters of type Formatter
 void LF5LogTarget.setNDCFormatter(Formatter formatter)
          Sets the Formatter 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 Formatter
LogKitLogRecord(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 Formatter
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.
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.
DatagramOutputTarget(java.net.InetAddress address, int port, Formatter formatter)
          Create a output target with end point specified by address and port.
 



Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.