sbt.internal.util

Type members

Classlikes

abstract
class AbstractEntry(val channelName: Option[String], val execId: Option[String]) extends Serializable
Companion
object
Companion
class
trait Appender extends AutoCloseable
abstract

Implements the level-setting methods of Logger.

Implements the level-setting methods of Logger.

Companion
class
class BufferedAppender(val name: String, delegate: Appender) extends Appender

An appender that can buffer the logging done on it and then can flush the buffer to the delegate appender provided in the constructor. Use 'record()' to start buffering and then 'play' to flush the buffer to the backing appender. The logging level set at the time a message is originally logged is used, not the level at the time 'play' is called.

An appender that can buffer the logging done on it and then can flush the buffer to the delegate appender provided in the constructor. Use 'record()' to start buffering and then 'play' to flush the buffer to the backing appender. The logging level set at the time a message is originally logged is used, not the level at the time 'play' is called.

Companion
object
class BufferedLogger(delegate: AbstractLogger) extends BasicLogger

A logger that can buffer the logging done on it and then can flush the buffer to the delegate logger provided in the constructor. Use 'startRecording' to start buffering and then 'play' from to flush the buffer to the backing logger. The logging level set at the time a message is originally logged is used, not the level at the time 'play' is called.

A logger that can buffer the logging done on it and then can flush the buffer to the delegate logger provided in the constructor. Use 'startRecording' to start buffering and then 'play' from to flush the buffer to the backing logger. The logging level set at the time a message is originally logged is used, not the level at the time 'play' is called.

This class assumes that it is the only client of the delegate logger.

Companion
class
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.

A logger that logs to the console. On supported systems, the level labels are colored.

This logger is not thread-safe.

Companion
object
Companion
class

A logger that logs to the console. On supported systems, the level labels are colored.

A logger that logs to the console. On supported systems, the level labels are colored.

Companion
object
sealed
Companion
object
object ConsoleOut
Companion
class
object EscHelpers
class FilterLogger(delegate: AbstractLogger) extends BasicLogger

A filter logger is used to delegate messages but not the logging level to another logger. This means that messages are logged at the higher of the two levels set by this logger and its delegate.

A filter logger is used to delegate messages but not the logging level to another logger. This means that messages are logged at the higher of the two levels set by this logger and its delegate.

class FullLogger(delegate: Logger) extends BasicLogger

Promotes the simple Logger interface to the full AbstractLogger interface.

Promotes the simple Logger interface to the full AbstractLogger interface.

Companion
object
object FullLogger
Companion
class
final case
class GlobalLogBacking(file: File, last: Option[File], newBackingFile: () => File)

Tracks the files that persist the global logging. file is the current backing file. last is the previous backing file, if there is one. newBackingFile creates a new temporary location for the next backing file.

Tracks the files that persist the global logging. file is the current backing file. last is the previous backing file, if there is one. newBackingFile creates a new temporary location for the next backing file.

Companion
object
Companion
class
final case
class GlobalLogging(full: ManagedLogger, console: ConsoleOut, backed: Appender, backing: GlobalLogBacking, newAppender: (ManagedLogger, PrintWriter, GlobalLogBacking, LoggerContext) => GlobalLogging)

Provides the current global logging configuration.

Provides the current global logging configuration.

full is the current global logger. It should not be set directly because it is generated as needed from backing.newLogger. console is where all logging from all ConsoleLoggers should go. backed is the Logger that other loggers should feed into. backing tracks the files that persist the global logging. newLogger creates a new global logging configuration from a sink and backing configuration.

Companion
object
Companion
class
final case
class GlobalLogging1(full: Logger, console: ConsoleOut, backed: AbstractLogger, backing: GlobalLogBacking, newLogger: (PrintWriter, GlobalLogBacking) => GlobalLogging1)
sealed abstract
class LogOption extends Serializable

value for logging options like color

value for logging options like color

Companion
object
object LogOption
Companion
class
class LoggerWriter(delegate: Logger, unbufferedLevel: Option[Value], nl: String) extends Writer

Provides a java.io.Writer interface to a Logger. Content is line-buffered and logged at level. A line is delimited by nl, which is by default the platform line separator.

Provides a java.io.Writer interface to a Logger. Content is line-buffered and logged at level. A line is delimited by nl, which is by default the platform line separator.

class ManagedLogger(val name: String, val channelName: Option[String], val execId: Option[String], xlogger: MiniLogger, terminal: Option[Terminal], val context: LoggerContext) extends Logger

Delegates log events to the associated LogExchange.

Delegates log events to the associated LogExchange.

class MultiLogger(delegates: List[AbstractLogger]) extends BasicLogger
final
class ObjectEvent[A](val level: Value, val message: A, val channelName: Option[String], val execId: Option[String], val contentType: String, val json: JValue) extends Serializable
Companion
object
Companion
class
final
class ProgressEvent extends AbstractEntry with Serializable

used by super shell

used by super shell

Companion
object
Companion
class
final
class ProgressItem extends Serializable

used by super shell

used by super shell

Value Params
elapsedMicros

current elapsed time in micro seconds

name

name of a task

Companion
object
Companion
class
object StackTrace
final
class StringEvent extends AbstractEntry with Serializable
Companion
object
Companion
class
final
class SuccessEvent extends Serializable
Companion
object
Companion
class
final
class SuppressedTraceContext(val traceLevel: Int, val useFormat: Boolean)
trait Terminal extends AutoCloseable
Companion
object
object Terminal
Companion
class
final
class TraceEvent extends AbstractEntry with Serializable
Companion
object
object TraceEvent
Companion
class