de.goerntkai.toolbox.log
Class ConsoleFormatter

java.lang.Object
  extended byjava.util.logging.Formatter
      extended byde.goerntkai.toolbox.log.ConsoleFormatter

public class ConsoleFormatter
extends java.util.logging.Formatter

The ConsoleFormatter displays only the messages. As there are no disturbing informations it will be a good choice when the task is only to inform the user of what's going on.

Version:
$Id: ConsoleFormatter.java,v 1.3 2007/04/29 17:54:03 GoerntKai Exp $
Author:
Kai Görnt

Constructor Summary
ConsoleFormatter()
          Standard Constructor.
 
Method Summary
 java.lang.String format(java.util.logging.LogRecord theRecord)
          Formats the log output.
 
Methods inherited from class java.util.logging.Formatter
formatMessage, getHead, getTail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsoleFormatter

public ConsoleFormatter()

Standard Constructor.

Method Detail

format

public final java.lang.String format(java.util.logging.LogRecord theRecord)

Formats the log output.

Parameters:
theRecord - to format
Returns:
the log output as a single line
See Also:
Formatter.format(java.util.logging.LogRecord)


Copyright © 2004-2007 Kai Görnt. All Rights Reserved.