Logger
The standard logging interface of the Mill build tool. Also contains the two forwarded stdout and stderr streams, for code executed by Mill to use directly. Typically, these correspond to the stdout and stderr, but when show
is used both are forwarded to stderr and stdout is only used to display the final show
output for easy piping.
Attributes
- Source
- Logger.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Abstract methods
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
- Source
- Logger.scala
Prints logging output which represents problems the user should care about
Prints logging output which represents problems the user should care about
Attributes
- Source
- Logger.scala
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
- Source
- Logger.scala
This Logger's versions of stdin, stdout, and stderr. Typically enabled thread-locally while the logger is being used via SystemStreams.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 SystemStreams.withStreams
, such that every println
or System.err.println
goes through the logger
Attributes
- Source
- Logger.scala
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 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 withPromptLine is running.
Useful for information which is transient and disposable, e.g. progress indicators.
Attributes
- Source
- Logger.scala
Prints logging output which represents warnings the user should care about
Prints logging output which represents warnings the user should care about
Attributes
- Source
- Logger.scala
Concrete methods
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
- Source
- Logger.scala
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
- Source
- Logger.scala