t

mill.api

Logger

trait Logger extends AnyRef

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
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Logger
  2. AnyRef
  3. 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]) @native()
  6. def close(): Unit
  7. def debugEnabled: Boolean

    Since

    Mill 0.10.5

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def errorStream: PrintStream
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def inStream: InputStream
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def outputStream: PrintStream
  20. 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.

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

Inherited from AnyRef

Inherited from Any

Ungrouped