com.lightdev.app
Class StreamLogFormatter


java.lang.Object

  extended by java.util.logging.Formatter

      extended by com.lightdev.app.StreamLogFormatter


public class StreamLogFormatter
extends Formatter

format log messages for output to a stream

Version:
2, February 12, 2004
Author:
Ulrich Hilger, Light Development, http://www.lightdev.com, info@lightdev.com, published under the terms and conditions of the GNU General Public License, for details see file in the distribution package of this software as well as any licensing notes inside this documentation

Constructor Summary
StreamLogFormatter()
          constructor
 
Method Summary
 String format(LogRecord record)
          format a log record
 
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

StreamLogFormatter


public StreamLogFormatter()
constructor

Method Detail

format


public String format(LogRecord record)
format a log record

Specified by:
format in class Formatter
Parameters:
record - LogRecord the record to format
Returns:
String the formatted log record

Copyright (c) 2004, 2005 Ulrich Hilger