Printer
ammonite.util.Printer
case class Printer(outStream: PrintStream, errStream: PrintStream, resultStream: PrintStream, warning: String => Unit, error: String => Unit, info: String => Unit)
Encapsulates the ways the Ammonite REPL prints things. Does not print a trailing newline by default; you have to add one yourself.
Attributes
- errStream
Direct access to print to stderr
- error
How you want it to print a compile error
- info
How you want to print compile info logging. Not the same as
out
, which is used to print runtime output.- outStream
Direct access to print to stdout
- resultStream
Direct access to print the result of the entered code
- warning
How you want it to print a compile warning
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any