Module Mirage_runtime

Mirage run-time utilities.

Release 3.0.0

Log thresholds

type log_threshold = [ `All | `Src of string ] * Logs.level

The type for log threshold.

val set_level : default:Logs.level ‑> log_threshold list ‑> unit

set_level ~default l set the log levels needed to have all of the log sources appearing in l be used.

module Arg : sig ... end
include module type of Functoria_runtime with module Functoria_runtime.Arg := Arg

Functoria runtime.

Arg defines command-line arguments which can be set at runtime. This module is the runtime companion of Functoria_key. It exposes a subset of Cmdliner.Arg.

Key defines values that can be set by runtime command-line arguments. This module is the runtime companion of Functoria_key.

val with_argv : unit Cmdliner.Term.t list ‑> string ‑> string array ‑> unit

with_argv keys name argv evaluates the keysterms on the command-line argv. name is the executable name.