Top Description Methods
org.apache.log.format

public Interface Formatter

Known Direct Implementers
org.apache.log.format.PatternFormatter, org.apache.log.format.RawFormatter, org.apache.log.format.SyslogFormatter, org.apache.log.format.XMLFormatter
Imports
org.apache.log.LogEvent

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

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the formatted string
format
(LogEvent
the event
event
)

Serialize log event into string.

Method Detail

formatback to summary
public String format(LogEvent event)

Serialize log event into string.

Parameters
event:LogEvent

the event

Returns:String

the formatted string