Packages

p

mill

util

package util

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. sealed class AggWrapper extends AnyRef
  2. class CallbackStream extends OutputStream
  3. class Ctx extends Dest with Log with Args
  4. case class EnclosingClass(value: Class[_]) extends Product with Serializable
  5. case class FileLogger(colored: Boolean, file: Path) extends Logger with Product with Serializable
  6. trait JsonFormatters extends AnyRef
  7. trait Logger extends AnyRef

    The standard logging interface of the Mill build tool.

    The standard logging interface of the Mill build tool.

    Contains four primary logging methods, in order of increasing importance:

    - 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.

  8. trait MultiBiMap[K, V] extends AnyRef

    A map from keys to collections of values: you can assign multiple values to any particular key.

    A map from keys to collections of values: you can assign multiple values to any particular key. Also allows lookups in both directions: what values are assigned to a key or what key a value is assigned ti.

  9. case class MultiLogger(colored: Boolean, streams: Logger*) extends Logger with Product with Serializable
  10. case class PrintLogger(colored: Boolean, colors: Colors, outStream: PrintStream, infoStream: PrintStream, errStream: PrintStream) extends Logger with Product with Serializable
  11. class Router[C <: Context] extends AnyRef
  12. case class Watched[T](value: T, watched: Seq[PathRef]) extends Product with Serializable

Value Members

  1. object Ctx
  2. object DummyLogger extends Logger
  3. object EitherOps
  4. object EnclosingClass extends Serializable
  5. object JsonFormatters extends JsonFormatters
  6. object Loose extends AggWrapper
  7. object MultiBiMap
  8. object ParseArgs
  9. object Router

    More or less a minimal version of Autowire's Server that lets you generate a set of "routes" from the methods defined in an object, and call them using passing in name/args/kwargs via Java reflection, without having to generate/compile code or use Scala reflection.

    More or less a minimal version of Autowire's Server that lets you generate a set of "routes" from the methods defined in an object, and call them using passing in name/args/kwargs via Java reflection, without having to generate/compile code or use Scala reflection. This saves us spinning up the Scala compiler and greatly reduces the startup time of cached scripts.

  10. object Scripts

    Logic around using Ammonite as a script-runner; invoking scripts via the macro-generated Router, and pretty-printing any output or error messages

  11. object Strict extends AggWrapper
  12. object Watched extends Serializable

Ungrouped