Class 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 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 -