Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.util
Class ScLogFormatter

java.lang.Object
  extended by java.util.logging.Formatter
      extended by net.java.sip.communicator.util.ScLogFormatter

public class ScLogFormatter
extends Formatter

Print a brief summary of the LogRecord in a human readable. The summary will typically be on a single line (unless it's too long :) ... what I meant to say is that we don't add any line breaks).

Author:
Emil Ivov

Field Summary
(package private) static long startTime
           
 
Constructor Summary
ScLogFormatter()
           
 
Method Summary
 String format(LogRecord record)
          Format the given LogRecord.
 
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

startTime

static long startTime
Constructor Detail

ScLogFormatter

public ScLogFormatter()
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

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.