ConciseLevelConsoleAppender

sbt.mill.SbtLoggerUtils.ConciseLevelConsoleAppender
class ConciseLevelConsoleAppender(name: String, log: String => Unit, ansiCodesSupported0: Boolean) extends ConsoleAppender

Attributes

Source
SbtLoggerUtils.scala
Graph
Supertypes
class ConsoleAppender
trait Appender
trait AutoCloseable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def appendLog(level: Value, message0: => String): Unit

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

Definition Classes
Appender
Source
SbtLoggerUtils.scala

Inherited methods

override def close(): Unit

Attributes

Definition Classes
ConsoleAppender -> AutoCloseable
Inherited from:
ConsoleAppender
Source
ConsoleAppender.scala
def control(event: Value, message: => String): Unit

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
Source
ConsoleAppender.scala
def getTrace: Int

Returns the number of lines for stacktrace.

Returns the number of lines for stacktrace.

Attributes

Inherited from:
Appender
Source
ConsoleAppender.scala
def setTrace(level: Int): Unit

Attributes

Inherited from:
Appender
Source
ConsoleAppender.scala
def trace(t: => Throwable, traceLevel: Int): Unit

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 Throwable whose stack trace to log.

traceLevel

How to shorten the stack trace.

Attributes

Inherited from:
Appender
Source
ConsoleAppender.scala