package dkml-install
API and registry for DkML installation components
Install
Dune Dependency
Authors
Maintainers
Sources
dkml-install-0.5.2.tbz
md5=5b294da54e4474f8d260c7190fec8c85
sha512=33274eafb995b4ba9d1bdb05e63b466e621255155fe5c6df7f368b086e6658634eff07079a51c0501cd1ab6817ba637f3222a00e146b8c360e24b7488ca66b63
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)"
>