org.jboss.cdi.tck.util
Class SimpleLogger

java.lang.Object
  extended by org.jboss.cdi.tck.util.SimpleLogger
All Implemented Interfaces:
Serializable

public final class SimpleLogger
extends Object
implements Serializable

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
See Also:
Serialized Form

Constructor Summary
SimpleLogger(Class<?> clazz)
           
SimpleLogger(String name)
           
 
Method Summary
 void log(String message, Object... parameters)
          Log message with specified parameters.
 void log(Throwable thrown)
          Log message with specified throwed exception.
 
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 -

log

public void log(Throwable thrown)
Log message with specified throwed exception. Level.FINE is always used since the message is considered to be tracing information.

Parameters:
message -
parameters -


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