package logs
Logging infrastructure for OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
logs-0.7.0.tbz
sha256=86f4a02807eb1a297aae44977d9f61e419c31458a5d7b23c6f55575e8e69d5ca
md5=2bf021ca13331775e33cf34ab60246f7
doc/logs.fmt/Logs_fmt/index.html
Module Logs_fmt
Format
colorful reporter for Logs
.
v0.7.0 - homepage
Reporter
val reporter :
?pp_header:(Logs.level * string option) Fmt.t ->
?app:Format.formatter ->
?dst:Format.formatter ->
unit ->
Logs.reporter
reporter
is like Logs.format_reporter
except ANSI colors may be used in message header rendering if the formatters are configured to do so; see Fmt.set_style_renderer
and Fmt_tty
.
Consult a full command line setup example.
Colored message headers
val app_style : Fmt.style
app_style
is the style used to render headers at app level.
val err_style : Fmt.style
err_style
is the style used to render headers at error level.
val warn_style : Fmt.style
warn_style
is the style used to render headers at warning level.
val info_style : Fmt.style
info_style
is the style used to render headers at info level.
val debug_style : Fmt.style
debug_style
is the style used to render headers at debug level.
val pp_header : (Logs.level * string option) Fmt.t
pp_header
is like Logs.pp_header
but may use ANSI colors if the formatter is configured to do so, see Fmt.set_style_renderer
and Fmt_tty
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page