Package

sbt.internal

util

Permalink

package util

Visibility
  1. Public
  2. All

Type Members

  1. abstract class BasicLogger extends AbstractLogger

    Permalink

    Implements the level-setting methods of Logger.

  2. class BufferedLogger extends BasicLogger

    Permalink

    A logger that can buffer the logging done on it and then can flush the buffer to the delegate logger provided in the constructor.

    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.

  3. class ConsoleLogger extends BasicLogger

    Permalink

    A logger that logs to the console.

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

    This logger is not thread-safe.

  4. sealed trait ConsoleOut extends AnyRef

    Permalink
  5. class FilterLogger extends BasicLogger

    Permalink

    A filter logger is used to delegate messages but not the logging level to another logger.

    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.

  6. class FullLogger extends BasicLogger

    Permalink

    Promotes the simple Logger interface to the full AbstractLogger interface.

  7. final case class GlobalLogBacking(file: File, last: Option[File], newBackingFile: () ⇒ File) extends Product with Serializable

    Permalink

    Tracks the files that persist the global logging.

    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.

  8. final case class GlobalLogging(full: Logger, console: ConsoleOut, backed: AbstractLogger, backing: GlobalLogBacking, newLogger: (PrintWriter, GlobalLogBacking) ⇒ GlobalLogging) extends Product with Serializable

    Permalink

    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.

  9. class LoggerWriter extends Writer

    Permalink

    Provides a java.io.Writer interface to a Logger.

    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.

  10. class MultiLogger extends BasicLogger

    Permalink
  11. final case class MultiLoggerConfig(console: AbstractLogger, backed: AbstractLogger, extra: List[AbstractLogger], screenLevel: util.Level.Value, backingLevel: util.Level.Value, screenTrace: Int, backingTrace: Int) extends Product with Serializable

    Permalink
  12. final class SuppressedTraceContext extends AnyRef

    Permalink

Value Members

  1. object ConsoleLogger

    Permalink
  2. object ConsoleOut

    Permalink
  3. object FullLogger

    Permalink
  4. object GlobalLogBacking extends Serializable

    Permalink
  5. object GlobalLogging extends Serializable

    Permalink
  6. object MainLogging

    Permalink
  7. object StackTrace

    Permalink

Ungrouped