org.apache.log.format
Interface Formatter
- All Known Implementing Classes:
- PatternFormatter, RawFormatter, SyslogFormatter, XMLFormatter
- public interface Formatter
This defines the interface for components that wish to serialize
LogEvents into Strings.
- Author:
- Peter Donald
Method Summary |
java.lang.String |
format(LogEvent event)
Serialize log event into string. |
format
public java.lang.String format(LogEvent event)
- Serialize log event into string.
- Parameters:
event
- the event
- Returns:
- the formatted string
Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.