make GlobalLogging.backed less specific: AbstractLogger is fine

This commit is contained in:
Mark Harrah 2013-02-25 09:24:05 -05:00
parent e32f5fec1f
commit 6350a4b51d
1 changed files with 2 additions and 2 deletions

View File

@ -9,9 +9,9 @@ package sbt
* *
* `full` is the current global logger. It should not be set directly because it is generated as needed from `backing.newLogger`. * `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. * `console` is where all logging from all ConsoleLoggers should go.
* `backed` is the ConsoleLogger that other loggers should feed into. * `backed` is the Logger that other loggers should feed into.
* `backing` tracks the files that persist the global logging. */ * `backing` tracks the files that persist the global logging. */
final case class GlobalLogging(full: Logger, console: ConsoleOut, backed: ConsoleLogger, backing: GlobalLogBacking) final case class GlobalLogging(full: Logger, console: ConsoleOut, backed: AbstractLogger, backing: GlobalLogBacking)
/** 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. * `file` is the current backing file. `last` is the previous backing file, if there is one.