org.apache.log.format
Interface Formatter

All Known Subinterfaces:
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
 String format(LogEvent event)
          Serialize log event into string.
 

Method Detail

format

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

Parameters:
event - the event
Returns:
the formatted string


Copyright © 2001 Apache Jakarta Project. All Rights Reserved.