choco.kernel.common.logging
Class DetailedFormatter

java.lang.Object
  extended by java.util.logging.Formatter
      extended by choco.kernel.common.logging.DetailedFormatter

public final class DetailedFormatter
extends Formatter

Since:
16 avr. 2009 version 2.1.0
Version:
2.1.0
Author:
Arnaud Malapert

Field Summary
protected static String lineSeparator
           
 
Constructor Summary
DetailedFormatter()
           
 
Method Summary
 String format(LogRecord record)
          Format the given LogRecord.
protected  void setWarningSign(LogRecord record, StringBuilder buffer)
           
 
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
 

Field Detail

lineSeparator

protected static final String lineSeparator
Constructor Detail

DetailedFormatter

public DetailedFormatter()
Method Detail

format

public String format(LogRecord record)
Format the given LogRecord.

Specified by:
format in class Formatter
Parameters:
record - the log record to be formatted.
Returns:
a formatted log record

setWarningSign

protected final void setWarningSign(LogRecord record,
                                    StringBuilder buffer)


Copyright © 2012. All Rights Reserved.