org.apache.log

Interface Formatter

public interface Formatter extends Formatter

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

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

Author: Peter Donald

Method Summary
Stringformat(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