package dkml-install
API and registry for Diskuv OCaml (DKML) installation components
Install
Dune Dependency
Authors
Maintainers
Sources
dkml-install-0.3.0.tbz
sha256=c975d7d8d193946e268722538621aa4f99acdfcd7ead6a72157a2db80b98cb28
sha512=f799d6f44486ca7a780bb8d9d976056548b37cdf5211dd7608c32d65e1766ae9f4e113c03cfcfb9d0ba546adaf20e1176bc5531f9a5ca8c6c04497e5c76ba991
doc/src/dkml-install.api/log_config.ml.html
Source file log_config.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
type t = { log_config_style_renderer : Fmt.style_renderer option; log_config_level : Logs.level option; } (** the type of log configuration *) (** [create ?log_config_style_renderer ?log_config_level ()] creates log configuration *) let create ?log_config_style_renderer ?log_config_level () = { log_config_style_renderer; log_config_level } (** [to_args] translates the configuration to {!Bos.Cmd.t} *) let to_args { log_config_style_renderer; log_config_level } = let color = match log_config_style_renderer with | None -> "auto" | Some `None -> "never" | Some `Ansi_tty -> "always" in Bos.Cmd.( empty % ("--verbosity=" ^ Logs.level_to_string log_config_level) % ("--color=" ^ color))
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>