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
Attributes
- Source
- PromptLogger.scala
Attributes
- Source
- PromptLogger.scala
Attributes
- Source
- PromptLogger.scala
Attributes
- Source
- PromptLogger.scala
A short dash-separated prefix that is printed before every log line. Used to uniquely identify log lines belonging to this logger from log lines belonging to others, which is especially necessary in the presence of concurrency and where logs get interleaved. Typically a single ID number or sequence of numbers.
A short dash-separated prefix that is printed before every log line. Used to uniquely identify log lines belonging to this logger from log lines belonging to others, which is especially necessary in the presence of concurrency and where logs get interleaved. Typically a single ID number or sequence of numbers.
Attributes
- Definition Classes
- Source
- PromptLogger.scala
Attributes
- Definition Classes
- Source
- PromptLogger.scala
Attributes
- Source
- PromptLogger.scala
Attributes
- Source
- PromptLogger.scala
Attributes
- Source
- PromptLogger.scala
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
A version of streams without the logging prefix appended to every line. Used by the logging hierarchy to print things such that the logging prefixes can be more finely customized per logger.
A version of streams without the logging prefix appended to every line. Used by the logging hierarchy to print things such that the logging prefixes can be more finely customized per logger.
Attributes
- Definition Classes
- Source
- PromptLogger.scala
Attributes
- Source
- PromptLogger.scala