SbtPrinter

case class SbtPrinter(env: Env, loggers: Array[Logger], events: SbtEvents) extends Printer

Text printer for Sbt

It delegates the console printing to a normal text printer but using the Sbt loggers It also publishes events (success, error, skipped, pending) to Sbt

Companion
object
trait Serializable
trait Product
trait Equals
trait Printer
class Object
trait Matchable
class Any

Value members

Concrete methods

def eventSink(spec: SpecStructure): AsyncSink[Fragment]
def finalize(specifications: List[SpecStructure]): Action[Unit]
def prepare(specifications: List[SpecStructure]): Action[Unit]
def sbtNotifierPrinter(args: Arguments): Printer
def sink(spec: SpecStructure): AsyncSink[Fragment]

use 2 Folds:

use 2 Folds:

  • one for logging messages to the console
  • one for registering sbt events
def textSink(spec: SpecStructure): AsyncSink[Fragment]

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product

Concrete fields