org.joseki.logging.java
Class OneLineFormatterCompact

java.lang.Object
  extended byjava.util.logging.Formatter
      extended byorg.joseki.logging.java.OneLineFormatterCompact

public class OneLineFormatterCompact
extends java.util.logging.Formatter

Java logging formatter that record logs with an abbreviated output, suitable for servlet logging where timestamps will be added by the underlying system.

Version:
$Id: OneLineFormatterCompact.java,v 1.2 2004/04/30 14:13:14 andy_seaborne Exp $
Author:
Andy Seaborne

Field Summary
static int nameColWidth
           
 
Constructor Summary
OneLineFormatterCompact()
           
 
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

nameColWidth

public static int nameColWidth
Constructor Detail

OneLineFormatterCompact

public OneLineFormatterCompact()
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


Copyright © 2002 Hewlett-Packard. All Rights Reserved.