package dkml-install
API and registry for DkML installation components
Install
Dune Dependency
Authors
Maintainers
Sources
src.tar.gz
md5=e61b1ab5693a4749caae1959aea6fd70
sha512=8321e92d8c204eb26da69c8b522fbcca0c38fbc61a26d1d367aad28e6c8c3d4ee8933596b9a63f8c6d6c3bbd36582292d5bfd4680906e4a2e4bef45e3f6f17aa
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
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 a string array *) 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 [| "--verbosity=" ^ Logs.level_to_string log_config_level; "--color=" ^ color; |]
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>