Formatter (LogKit API)
Keywords: org.apache.log.format.Formatter,Formatter interface

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001 Apache Jakarta Project. All Rights Reserved.