Appends the message message
to the to the log at level level
.
Appends the message message
to the to the log at level level
.
The importance level of the message.
The message to log.
Logs a ControlEvent
to the log.
Logs a ControlEvent
to the log.
The kind of ControlEvent
.
The message to log.
Returns the number of lines for stacktrace.
Logs the stack trace of t
, possibly shortening it.
Logs the stack trace of t
, possibly shortening it.
The traceLevel
parameter configures how the stack trace will be shortened.
See StackTrace.trimmed
.
The Throwable
whose stack trace to log.
How to shorten the stack trace.
A logger that logs to the console. On supported systems, the level labels are colored.
This logger is not thread-safe.