Logger

scala.build.Logger
See theLogger companion object
trait Logger

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def bloopRifleLogger: BloopRifleLogger
def compilerOutputStream: PrintStream
def coursierLogger(printBefore: String): CacheLogger
def debug(s: => String): Unit
def debug(ex: BuildException): Unit
def error(message: String): Unit
def exit(ex: BuildException): Nothing
def experimentalWarning(featureName: String, featureType: FeatureType): Unit

Since we have a lot of experimental warnings all over the build process, this method can be used to accumulate them for a better UX

Since we have a lot of experimental warnings all over the build process, this method can be used to accumulate them for a better UX

Attributes

def log(s: => String): Unit
def log(s: => String, debug: => String): Unit
def log(diagnostics: Seq[Diagnostic]): Unit
def log(ex: BuildException): Unit
def message(message: => String): Unit
def scalaJsLogger: Logger
def scalaNativeTestLogger: Logger
def verbosity: Int

Concrete methods

def cliFriendlyDiagnostic(message: String, cliFriendlyMessage: String, severity: Severity, positions: Seq[Position]): Unit
def diagnostic(message: String, severity: Severity, positions: Seq[Position]): Unit