Package org.jboss.cdi.tck.util
Class SimpleLogger
- java.lang.Object
-
- 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
Constructors Constructor Description SimpleLogger(Class<?> clazz)SimpleLogger(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidlog(String message, Object... parameters)Log message with specified parameters.voidlog(Throwable thrown)Log message with specified throwed exception.
-
-
-
Method Detail
-
log
public void log(String message, Object... parameters)
Log message with specified parameters.Level.FINEis 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.FINEis always used since the message is considered to be tracing information.- Parameters:
message-parameters-
-
-