CliLogger

scala.cli.internal.CliLogger
See theCliLogger companion object
class CliLogger(val verbosity: Int, quiet: Boolean, progress: Option[Boolean], out: PrintStream) extends Logger

Attributes

Companion
object
Graph
Supertypes
trait Logger
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

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

Attributes

Definition Classes
Logger
def compilerOutputStream: PrintStream
def coursierLogger(printBefore: String): CacheLogger
def debug(message: => 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

override def log(diagnostics: Seq[Diagnostic]): Unit

Attributes

Definition Classes
Logger
def log(message: => String): Unit
def log(message: => String, debugMessage: => String): Unit
def log(ex: BuildException): Unit
def message(message: => String): Unit
def printDiagnostic(positions: Seq[Position], severity: Severity, message: String, contentCache: Map[Path, Seq[String]], textEditOpt: Option[TextEdit]): Unit
def scalaJsLogger: Logger
def scalaNativeTestLogger: Logger

Inherited methods

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

Attributes

Inherited from:
Logger

Concrete fields

val verbosity: Int