fr.inria.peerunit.util
Class LogFormat

java.lang.Object
  extended by java.util.logging.Formatter
      extended by fr.inria.peerunit.util.LogFormat

public class LogFormat
extends java.util.logging.Formatter

This objects of this class format the logging messages in conformity with the values of properties file.

Since:
1.0
Version:
1.0
Author:
Eduardo Almeida, Aboubakar Koïta
See Also:
PeerUnitLogger

Constructor Summary
LogFormat()
           
 
Method Summary
 java.lang.String format(java.util.logging.LogRecord rec)
          This method is overridden to apply our own formatting
 
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

LogFormat

public LogFormat()
Method Detail

format

public java.lang.String format(java.util.logging.LogRecord rec)
This method is overridden to apply our own formatting

Specified by:
format in class java.util.logging.Formatter
Parameters:
rec - the content to format
Returns:
the string resulting from formatting


Copyright © 2010. All Rights Reserved.