org.testng.log
Class TextFormatter

java.lang.Object
  extended by java.util.logging.Formatter
      extended by java.util.logging.SimpleFormatter
          extended by org.testng.log.TextFormatter

public class TextFormatter
extends SimpleFormatter

This class implements a simple TextFormatter because the brainded default formatter of java.util.logging outputs everything on two lines and it's ugly as butt.

Author:
Cedric Beust, May 2, 2004

Constructor Summary
TextFormatter()
           
 
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

TextFormatter

public TextFormatter()
Method Detail

format

public String format(LogRecord record)
Overrides:
format in class SimpleFormatter


Copyright © 2012. All Rights Reserved.