org.apache.log
Interface Formatter

All Superinterfaces:
Formatter
All Known Implementing Classes:
PatternFormatter, RawFormatter, SyslogFormatter, XMLFormatter

Deprecated. Use org.apache.log.format.Formatter instead.

public interface Formatter
extends Formatter

This defines the interface for components that wish to serialize LogEvents into Strings.

Author:
Peter Donald

Method Summary
 String format(LogEvent event)
          Deprecated. Serialize log event into string.
 

Method Detail

format

public String format(LogEvent event)
Deprecated. 
Serialize log event into string.

Specified by:
format in interface Formatter
Parameters:
event - the event
Returns:
the formatted string


Copyright © 2001 Apache Jakarta Project. All Rights Reserved.