trait Logger extends AutoCloseable
The standard logging interface of the Mill build tool.
Contains these primary logging methods, in order of increasing importance:
- debug
: internal debug messages normally not shown to the user;
mostly useful when debugging issues
- ticker
: short-lived logging output where consecutive lines over-write
each other; useful for information which is transient and disposable
- info
: 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
- error
: logging output which represents problems the user should care
about
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.
- Source
- Logger.scala
- Alphabetic
- By Inheritance
- Logger
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
Concrete 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]) @HotSpotIntrinsicCandidate() @native()
- def close(): Unit
- Definition Classes
- Logger → AutoCloseable
- def debugEnabled: Boolean
- Since
Mill 0.10.5
- def enableTicker: Boolean
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def errorColor: Attrs
- def errorStream: PrintStream
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def inStream: InputStream
- def infoColor: Attrs
- 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
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def outputStream: PrintStream
- def rawOutputStream: PrintStream
rawOutputStream is intended to be a version of outputStream without decoration: colors, prefixes, timestamps, etc.
rawOutputStream is intended to be a version of outputStream without decoration: colors, prefixes, timestamps, etc. It is intended for the use of tasks like
show
which output data in a way that is easily readable by downstream programs. - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withOutStream(outStream: PrintStream): Logger
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)