Gnarly multithreaded stateful code to handle the terminal prompt and log prefixer that Mill shows to tell the user what is running.
Most operations that update mutable state or writes to parent systemStreams0 is synchronized under the PromptLogger object. Notably, child writes to streams are not synchronized, and instead goes into a PipeStreams buffer to be read out and handled asynchronously.
Attributes
- Companion
- object
- Source
- PromptLogger.scala
- Graph
-
- Supertypes
Members list
Type members
Classlikes
Attributes
- Source
- PromptLogger.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Value members
Concrete methods
Attributes
- Definition Classes
-
AutoCloseable
- Source
- PromptLogger.scala
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
- PromptLogger.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
- PromptLogger.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
- PromptLogger.scala
Attributes
- Source
- PromptLogger.scala
Attributes
- 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
- Source
- PromptLogger.scala
Attributes
- Source
- PromptLogger.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 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
- Source
- PromptLogger.scala
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
-
Any
- Source
- PromptLogger.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
- PromptLogger.scala
Deprecated and Inherited methods
Attributes
- Deprecated
- true
- Inherited from:
- Logger
- Source
- Logger.scala