t

mill.api

Logger

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
Linear Supertypes
AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Logger
  2. AutoCloseable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def colored: Boolean
  2. abstract def debug(s: String): Unit
  3. abstract def error(s: String): Unit
  4. abstract def info(s: String): Unit
  5. abstract def systemStreams: SystemStreams
  6. abstract def ticker(s: String): Unit

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  6. def close(): Unit
    Definition Classes
    Logger → AutoCloseable
  7. def debugEnabled: Boolean

    Since

    Mill 0.10.5

  8. def enableTicker: Boolean
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def errorColor: Attrs
  12. def errorStream: PrintStream
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  15. def inStream: InputStream
  16. def infoColor: Attrs
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  21. def outputStream: PrintStream
  22. 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.

  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. def withOutStream(outStream: PrintStream): Logger

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped