package util
- Alphabetic
- Public
- All
Type Members
- sealed class AggWrapper extends AnyRef
- class CallbackStream extends OutputStream
- class Ctx extends Dest with Log with Args with Home with Env
- case class EnclosingClass(value: Class[_]) extends Product with Serializable
- case class FileLogger(colored: Boolean, file: Path, debugEnabled: Boolean) extends Logger with Product with Serializable
- trait JsonFormatters extends AnyRef
-
trait
Logger extends AnyRef
The standard logging interface of the Mill build tool.
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 aboutAlso 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 finalshow
output for easy piping. -
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 to.
- case class MultiLogger(colored: Boolean, logger1: Logger, logger2: Logger) extends Logger with Product with Serializable
- class MultiStream extends PrintStream
- case class PrintLogger(colored: Boolean, disableTicker: Boolean, colors: Colors, outStream: PrintStream, infoStream: PrintStream, errStream: PrintStream, inStream: InputStream, debugEnabled: Boolean) extends Logger with Product with Serializable
- sealed trait PrintState extends AnyRef
- class Router[C <: Context] extends AnyRef
- case class Watched[T](value: T, watched: Seq[PathRef]) extends Product with Serializable
Value Members
- object ClassLoader
- object Ctx
- object DummyInputStream extends ByteArrayInputStream
- object DummyLogger extends Logger
- object DummyOutputStream extends OutputStream
- object EitherOps
- object EnclosingClass extends Serializable
-
object
IO
Misc IO utilities, eventually probably should be pushed upstream into ammonite-ops
- object JsonFormatters extends JsonFormatters
- object Loose extends AggWrapper
- object MultiBiMap
- object ParseArgs
- object PrintState
-
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.
-
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
- object Strict extends AggWrapper
- object Watched extends Serializable