PersistentDiagnosticLogger

scala.build.PersistentDiagnosticLogger
class PersistentDiagnosticLogger(parent: Logger) extends Logger

Used to collect and send diagnostics to the build client when operating as a BSP

Attributes

Graph
Supertypes
trait Logger
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def bloopRifleLogger: BloopRifleLogger
def compilerOutputStream: PrintStream
def coursierLogger(printBefore: String): CacheLogger
def debug(s: => String): Unit
def debug(ex: BuildException): Unit
def diagnostics: List[Diagnostic]
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

Inherited methods

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

Attributes

Inherited from:
Logger
def diagnostic(message: String, severity: Severity, positions: Seq[Position]): Unit

Attributes

Inherited from:
Logger