Logger

trait 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.

class Object
trait Matchable
class Any

Value members

Abstract methods

def ansiCodesSupported(): Boolean

True if ANSI color codes are understood by this instance.

True if ANSI color codes are understood by this instance.

def debug(msg: String): Unit

Provide a debug message.

Provide a debug message.

Value parameters:
msg

the debug message

def error(msg: String): Unit

Provide an error message.

Provide an error message.

Value parameters:
msg

the error message

def info(msg: String): Unit

Provide an info message.

Provide an info message.

Value parameters:
msg

the info message

def trace(t: Throwable): Unit

Provide a stack trace

Provide a stack trace

Value parameters:
t

the Throwable containing the stack trace being logged

def warn(msg: String): Unit

Provide an warning message.

Provide an warning message.

Value parameters:
msg

the warning message