sbt.util

package sbt.util

Type members

Classlikes

abstract
class AbstractLogger extends Logger
final
class ControlEvent(val event: Value, val msg: String) extends LogEvent
Companion
object
object ControlEvent extends Enumeration
Companion
class
object Level extends Enumeration

An enumeration defining the levels available for logging. A level includes all of the levels with id larger than its own id. For example, Warn (id=3) includes Error (id=4).

An enumeration defining the levels available for logging. A level includes all of the levels with id larger than its own id. For example, Warn (id=3) includes Error (id=4).

final
class Log(val level: Value, val msg: String) extends LogEvent
sealed
trait LogEvent
sealed abstract
Companion
object
object LogExchange extends LogExchange
Companion
class
abstract
class Logger extends Logger

This is intended to be the simplest logging interface for use by code that wants to log. It does not include configuring the logger.

This is intended to be the simplest logging interface for use by code that wants to log. It does not include configuring the logger.

Companion
object
object Logger
Companion
class
sealed
trait LoggerContext extends AutoCloseable

Provides a context for generating loggers during task evaluation. The logger context can be initialized for a single command evaluation run and all of the resources created (such as cached logger appenders) can be cleaned up after task evaluation. This trait evolved out of LogExchange when it became clear that it was very difficult to manage the loggers and appenders without introducing memory leaks.

Provides a context for generating loggers during task evaluation. The logger context can be initialized for a single command evaluation run and all of the resources created (such as cached logger appenders) can be cleaned up after task evaluation. This trait evolved out of LogExchange when it became clear that it was very difficult to manage the loggers and appenders without introducing memory leaks.

Companion
object
Companion
class
final
class SetLevel(val newLevel: Value) extends LogEvent
final
class SetSuccess(val enabled: Boolean) extends LogEvent
final
class SetTrace(val level: Int) extends LogEvent
trait ShowLines[A]
Companion
object
object ShowLines
Companion
class
final
class Success(val msg: String) extends LogEvent
final
class Trace(val exception: Throwable) extends LogEvent