net.sf.xenqtt
Class XenqttLogFormatter

java.lang.Object
  extended by java.util.logging.Formatter
      extended by net.sf.xenqtt.XenqttLogFormatter

public class XenqttLogFormatter
extends Formatter

A Formatter implementation that logs log records to a single line in the log file. The format of the logged event is as follows:

timestamp [levelUpperCase] - message

An example timestamp would look as-follows:

2013-09-10T19:11:30.567-0500 [INFO] - A cool and useful message


Constructor Summary
XenqttLogFormatter()
           
 
Method Summary
 String format(LogRecord 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

XenqttLogFormatter

public XenqttLogFormatter()
Method Detail

format

public String format(LogRecord record)
Specified by:
format in class Formatter
See Also:
Formatter.format(java.util.logging.LogRecord)


Copyright © 2013. All Rights Reserved.