logger

mill.testkit.UnitTester.logger
object logger extends PromptLogger

Attributes

Source
UnitTester.scala
Graph
Supertypes
trait AutoCloseable
trait Logger
trait Actions
class Object
trait Matchable
class Any
Show all
Self type
UnitTester.this.UnitTester.this.logger.type

Members list

Type members

Inherited classlikes

object prompt

Attributes

Inherited from:
PromptLogger (hidden)
Source
PromptLogger.scala
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

override def debug(s: String): Unit

Prints internal debug messages normally not shown to the user; mostly useful when debugging issues

Prints internal debug messages normally not shown to the user; mostly useful when debugging issues

Attributes

Definition Classes
PromptLogger -> Actions
Source
UnitTester.scala
override def error(s: String): Unit

Prints logging output which represents problems the user should care about

Prints logging output which represents problems the user should care about

Attributes

Definition Classes
PromptLogger -> Actions
Source
UnitTester.scala
override def info(s: String): Unit

Prints miscellaneous logging output which isn't part of the main output a user is looking for, but useful to provide context on what Mill is doing

Prints miscellaneous logging output which isn't part of the main output a user is looking for, but useful to provide context on what Mill is doing

Attributes

Definition Classes
PromptLogger -> Actions
Source
UnitTester.scala
override def ticker(s: String): Unit

Prints short-lived logging output where consecutive lines over-write each other; this shows up in the logger's prompt line in the multi-line prompt when Logger.withPromptLine is running.

Prints short-lived logging output where consecutive lines over-write each other; this shows up in the logger's prompt line in the multi-line prompt when Logger.withPromptLine is running.

Useful for information which is transient and disposable, e.g. progress indicators.

Attributes

Definition Classes
PromptLogger -> Actions
Source
UnitTester.scala
override def warn(s: String): Unit

Prints logging output which represents warnings the user should care about

Prints logging output which represents warnings the user should care about

Attributes

Definition Classes
PromptLogger -> Actions
Source
UnitTester.scala

Inherited methods

override def close(): Unit

Attributes

Definition Classes
PromptLogger -> AutoCloseable
Inherited from:
PromptLogger (hidden)
Source
PromptLogger.scala
final def debugEnabled: Boolean

Whether the --debug flag was passed to Mill. Used to turn on additional logging to console and files on disk that you may not want to turn on by default due to verbosity or performance cost.

Whether the --debug flag was passed to Mill. Used to turn on additional logging to console and files on disk that you may not want to turn on by default due to verbosity or performance cost.

Attributes

Inherited from:
Logger
Source
Logger.scala
def isInteractive(): Boolean

Attributes

Inherited from:
PromptLogger (hidden)
Source
PromptLogger.scala
def refreshPrompt(ending: Boolean): Unit

Attributes

Inherited from:
PromptLogger (hidden)
Source
PromptLogger.scala

This Logger's versions of stdin, stdout, and stderr. Typically enabled thread-locally while the logger is being used via SystemStreamsUtils.withStreams, such that every println or System.err.println goes through the logger

This Logger's versions of stdin, stdout, and stderr. Typically enabled thread-locally while the logger is being used via SystemStreamsUtils.withStreams, such that every println or System.err.println goes through the logger

Attributes

Inherited from:
PromptLogger (hidden)
Source
PromptLogger.scala

Attributes

Inherited from:
PromptLogger (hidden)
Source
PromptLogger.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
PromptLogger -> Any
Inherited from:
PromptLogger (hidden)
Source
PromptLogger.scala
def withOutStream(outStream: PrintStream): Logger

Creates a new logger identical to this one but with stdout redirected to the given stream; typically used to redirect out to err in mill show

Creates a new logger identical to this one but with stdout redirected to the given stream; typically used to redirect out to err in mill show

Attributes

Inherited from:
Logger
Source
Logger.scala

Concrete fields

val prefix: String

Attributes

Source
UnitTester.scala

Inherited fields

val chromeProfileLogger: ChromeProfile

Attributes

Inherited from:
PromptLogger (hidden)
Source
PromptLogger.scala
val promptUpdaterThread: Thread

Attributes

Inherited from:
PromptLogger (hidden)
Source
PromptLogger.scala