package dkml-install
API and registry for Diskuv OCaml (DKML) installation components
Install
Dune Dependency
Authors
Maintainers
Sources
dkml-install-api-0.4.0.tar.gz
md5=1b3f42a06b0643eb502e6f65d1769b98
sha512=55d47cb8c570f3e9fbdb5f4f7960c86fbe357df6c5364c82c9eb326150693fa1dbffe3fa3f5682e355f770c5f3c53bd7ce88ec1d1d9eefecceb8f44ed8b1d326
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)"
>