org.joseki.logging.java
Class OneLineFormatterCompact
java.lang.Object
java.util.logging.Formatter
org.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
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 |
nameColWidth
public static int nameColWidth
OneLineFormatterCompact
public OneLineFormatterCompact()
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.