package util
- Alphabetic
- By Inheritance
- util
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- class CallbackStream extends OutputStream
- type Ctx = api.Ctx
- 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 api.JsonFormatters
-
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
-
case class
ProxyLogger(logger: Logger) extends Logger with Product with Serializable
A Logger that forwards all logging to another Logger.
A Logger that forwards all logging to another Logger. Intended to be used as a base class for wrappers that modify logging behavior.
- class Router[C <: Context] extends AnyRef
- case class Watched[T](value: T, watched: Seq[PathRef]) extends Product with Serializable
Value Members
- val Ctx: api.Ctx.type
- object Compat
- object DummyLogger extends Logger
- object EitherOps
- object EnclosingClass extends Serializable
- object JsonFormatters extends JsonFormatters
- 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 Watched extends Serializable