org.apache.log.format

Interface Formatter

public interface Formatter

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