org.apache.log.format
Class RawFormatter

java.lang.Object
  extended byorg.apache.log.format.RawFormatter
All Implemented Interfaces:
Formatter

public class RawFormatter
extends java.lang.Object
implements Formatter

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

Author:
Peter Donald

Constructor Summary
RawFormatter()
           
 
Method Summary
 java.lang.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 java.lang.String format(LogEvent event)
Format log event into string.

Specified by:
format in interface Formatter
Parameters:
event - the event
Returns:
the formatted string


Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.