sbt.internal.util.ConsoleAppender
See theConsoleAppender companion object
class ConsoleAppender(val name: String, val properties: Properties, val suppressedMessage: SuppressedTraceContext => Option[String]) extends Appender
A logger that logs to the console. On supported systems, the level labels are colored.
This logger is not thread-safe.
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Attributes
- Definition Classes
-
AutoCloseable
Inherited methods
Appends the message message to the to the log at level level.
Appends the message message to the to the log at level level.
Value parameters
- level
-
The importance level of the message.
- message
-
The message to log.
Attributes
- Inherited from:
- Appender
Logs a ControlEvent to the log.
Logs a ControlEvent to the log.
Value parameters
- event
-
The kind of
ControlEvent. - message
-
The message to log.
Attributes
- Inherited from:
- Appender
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.
Value parameters
- t
-
The
Throwablewhose stack trace to log. - traceLevel
-
How to shorten the stack trace.
Attributes
- Inherited from:
- Appender
In this article