de.fh_mannheim.mm.dms.framework
Class LogRecordFormatter

java.lang.Object
  extended byjava.util.logging.Formatter
      extended byde.fh_mannheim.mm.dms.framework.LogRecordFormatter

public class LogRecordFormatter
extends java.util.logging.Formatter

Print a brief summary of the LogRecord in a human readable format. The summary will be 1 line.

Version:
$Revision: 1.1 $
Author:
Jan Löffler

Field Summary
static java.lang.String LINE_SEPERATOR
           
 
Constructor Summary
LogRecordFormatter()
           
 
Method Summary
 java.lang.String format(java.util.logging.LogRecord record)
          Format the given LogRecord.
 
Methods inherited from class java.util.logging.Formatter
formatMessage, getHead, getTail
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LINE_SEPERATOR

public static java.lang.String LINE_SEPERATOR
Constructor Detail

LogRecordFormatter

public LogRecordFormatter()
Method Detail

format

public java.lang.String format(java.util.logging.LogRecord record)
Format the given LogRecord.

Parameters:
record - the log record to be formatted.
Returns:
a formatted log record