Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.joseki.logging.java
Class OneLineFormatter

    java.lang.Object
      java.util.logging.Formatter
          org.joseki.logging.java.OneLineFormatter

public class OneLineFormatter
extends java.util.logging.Formatter

Java logging formatter that record logs on one line.

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

Field Summary
`java.text.DateFormat` | `dateAndTimeFormat`
`static int` | `nameColWidth`

Constructor Summary
`OneLineFormatter()`

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

### dateAndTimeFormat

    public java.text.DateFormat dateAndTimeFormat

Constructor Detail

### OneLineFormatter

    public OneLineFormatter()

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002 Hewlett-Packard. All Rights Reserved.