sbt.internal.util

Members list

Packages

Type members

Classlikes

abstract class AbstractEntry(val channelName: Option[String], val execId: Option[String]) extends Serializable

Attributes

Companion
object
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Known subtypes
object AbstractEntry

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
trait Appender extends AutoCloseable

Attributes

Supertypes
trait AutoCloseable
class Object
trait Matchable
class Any
Known subtypes
abstract class BasicLogger extends AbstractLogger

Implements the level-setting methods of Logger.

Implements the level-setting methods of Logger.

Attributes

Supertypes
class Logger
trait Logger
class Object
trait Matchable
class Any
Show all
Known subtypes

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
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.

Attributes

Companion
object
Supertypes
trait Appender
trait AutoCloseable
class Object
trait Matchable
class Any
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.

Attributes

Supertypes
class BasicLogger
class Logger
trait Logger
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
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.

Attributes

Companion
object
Supertypes
trait Appender
trait AutoCloseable
class Object
trait Matchable
class Any
object ConsoleLogger

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
class ConsoleLogger extends BasicLogger

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.

Attributes

Companion
object
Supertypes
class BasicLogger
class Logger
trait Logger
class Object
trait Matchable
class Any
Show all
sealed trait ConsoleOut

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object ConsoleOut

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
ConsoleOut.type
object EscHelpers

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
EscHelpers.type
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.

Attributes

Supertypes
class BasicLogger
class Logger
trait Logger
class Object
trait Matchable
class Any
Show all
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.

Attributes

Companion
object
Supertypes
class BasicLogger
class Logger
trait Logger
class Object
trait Matchable
class Any
Show all
object FullLogger

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
FullLogger.type
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.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
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.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object GlobalLogging

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class GlobalLogging1(full: Logger, console: ConsoleOut, backed: AbstractLogger, backing: GlobalLogBacking, newLogger: (PrintWriter, GlobalLogBacking) => GlobalLogging1)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
sealed abstract class LogOption extends Serializable

value for logging options like color

value for logging options like color

Attributes

Companion
object
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Known subtypes
object Always.type
object Auto.type
object Never.type
object LogOption

Attributes

Companion
class
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
LogOption.type
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.

Attributes

Supertypes
class Writer
trait Flushable
trait Closeable
trait AutoCloseable
trait Appendable
class Object
trait Matchable
class Any
Show all
object MainAppender

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
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.

Attributes

Supertypes
class Logger
trait Logger
class Object
trait Matchable
class Any
class MultiLogger(delegates: List[AbstractLogger]) extends BasicLogger

Attributes

Supertypes
class BasicLogger
class Logger
trait Logger
class Object
trait Matchable
class Any
Show all
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

Attributes

Companion
object
Supertypes
trait Serializable
class Object
trait Matchable
class Any
object ObjectEvent

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
final class ProgressEvent extends AbstractEntry, Serializable

used by super shell

used by super shell

Attributes

Companion
object
Supertypes
trait Serializable
class Object
trait Matchable
class Any
object ProgressEvent

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
final class ProgressItem extends Serializable

used by super shell

used by super shell

Value parameters

elapsedMicros

current elapsed time in micro seconds

name

name of a task

Attributes

Companion
object
Supertypes
trait Serializable
class Object
trait Matchable
class Any
object ProgressItem

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
object StackTrace

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
StackTrace.type
final class StringEvent extends AbstractEntry, Serializable

Attributes

Companion
object
Supertypes
trait Serializable
class Object
trait Matchable
class Any
object StringEvent

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
final class SuccessEvent extends Serializable

Attributes

Companion
object
Supertypes
trait Serializable
class Object
trait Matchable
class Any
object SuccessEvent

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
final class SuppressedTraceContext(val traceLevel: Int, val useFormat: Boolean)

Attributes

Supertypes
class Object
trait Matchable
class Any
trait Terminal extends AutoCloseable

Attributes

Companion
object
Supertypes
trait AutoCloseable
class Object
trait Matchable
class Any
object Terminal

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Terminal.type
final class TraceEvent extends AbstractEntry, Serializable

Attributes

Companion
object
Supertypes
trait Serializable
class Object
trait Matchable
class Any
object TraceEvent

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
TraceEvent.type