RawFormatter (LogKit API)
Keywords: org.apache.log.format.RawFormatter,RawFormatter class

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
Class RawFormatter

    java.lang.Object
      |
      +--org.apache.log.format.RawFormatter

All Implemented Interfaces:
  Formatter, Formatter

public class RawFormatter
extends Object
implements Formatter, Formatter

Basic formatter that just returns raw message string and ignores remainder of LogEvent.

Author:
  Peter Donald

Constructor Summary
`RawFormatter()`

Method Summary
`String` | `format(LogEvent event)` Format log event into string.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### RawFormatter

    public RawFormatter()

Method Detail

### format

    public String format(LogEvent event)

  Format log event into string.

  Specified by:
    `format` in interface `Formatter`
  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.