Appender

sbt.internal.util.Appender
trait Appender extends AutoCloseable

Attributes

Graph
Supertypes
trait AutoCloseable
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Value members

Concrete methods

def appendLog(level: Value, message: => 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.

Attributes

level

The importance level of the message.

message

The message to log.

def control(event: Value, message: => String): Unit

Logs a ControlEvent to the log.

Logs a ControlEvent to the log.

Attributes

event

The kind of ControlEvent.

message

The message to log.

def getTrace: Int

Returns the number of lines for stacktrace.

Returns the number of lines for stacktrace.

Attributes

def setTrace(level: Int): Unit
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.

Attributes

t

The Throwable whose stack trace to log.

traceLevel

How to shorten the stack trace.

Inherited methods

def close(): Unit

Attributes

Inherited from:
AutoCloseable