Interface Logger
public interface Logger
A logger through which to provide feedback to the user about a run.
The difference between the event handler and the logger is that the event handler is for events intended to be consumed by the client software whereas the logger is for messages intended to be consumed by the client *user* (i.e., a human).
Implementations of this interface must be thread-safe.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanTrue if ANSI color codes are understood by this instance.voidProvide a debug message.voidProvide an error message.voidProvide an info message.voidProvide a stack tracevoidProvide an warning message.
-
Method Details
-
ansiCodesSupported
boolean ansiCodesSupported()True if ANSI color codes are understood by this instance. -
error
-
warn
-
info
-
debug
-
trace
Provide a stack trace- Parameters:
t- theThrowablecontaining the stack trace being logged
-