case class Printer(outStream: PrintStream, errStream: PrintStream, resultStream: PrintStream, warning: (String) => Unit, error: (String) => Unit, info: (String) => Unit) extends Product with Serializable
Encapsulates the ways the Ammonite REPL prints things. Does not print a trailing newline by default; you have to add one yourself.
- outStream
Direct access to print to stdout
- errStream
Direct access to print to stderr
- resultStream
Direct access to print the result of the entered code
- warning
How you want it to print a compile warning
- 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.
- Alphabetic
- By Inheritance
- Printer
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Printer(outStream: PrintStream, errStream: PrintStream, resultStream: PrintStream, warning: (String) => Unit, error: (String) => Unit, info: (String) => Unit)
- outStream
Direct access to print to stdout
- errStream
Direct access to print to stderr
- resultStream
Direct access to print the result of the entered code
- warning
How you want it to print a compile warning
- 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.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val errStream: PrintStream
- val error: (String) => Unit
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val info: (String) => Unit
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val outStream: PrintStream
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val resultStream: PrintStream
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- val warning: (String) => Unit