org.jboss.cdi.tck.util
Class SimpleLogger

java.lang.Object
  extended by org.jboss.cdi.tck.util.SimpleLogger

public final class SimpleLogger
extends Object

A very simple JDK logger wrapper. It should be used in complex tests only as logging in integration tests is not a good idea.

Author:
Martin Kouba

Constructor Summary
SimpleLogger(Class<?> clazz)
           
SimpleLogger(String name)
           
 
Method Summary
 void log(String message, Object... parameters)
          Log message with specified parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleLogger

public SimpleLogger(String name)

SimpleLogger

public SimpleLogger(Class<?> clazz)
Method Detail

log

public void log(String message,
                Object... parameters)
Log message with specified parameters. Level.FINE is always used since the message is considered to be tracing information.

Parameters:
message -
parameters -


Copyright © 2008-2012 Seam Framework. All Rights Reserved.