package logs
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Logging infrastructure for OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
logs-0.8.0.tbz
sha512=c34c67b00d6a989a2660204ea70db8521736d6105f15d1ee0ec6287a662798fe5c4d47075c6e7c84f5d5372adb5af5c4c404f79db70d69140af5e0ebbea3b6a5
doc/logs.fmt/Logs_fmt/index.html
Module Logs_fmt
Format colorful reporter for Logs.
Reporter
val reporter :
?pp_header:(Logs.level * string option) Fmt.t ->
?app:Format.formatter ->
?dst:Format.formatter ->
unit ->
Logs.reporterreporter 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.styleapp_style is the style used to render headers at app level.
val err_style : Fmt.styleerr_style is the style used to render headers at error level.
val warn_style : Fmt.stylewarn_style is the style used to render headers at warning level.
val info_style : Fmt.styleinfo_style is the style used to render headers at info level.
val debug_style : Fmt.styledebug_style is the style used to render headers at debug level.
val pp_header : (Logs.level * string option) Fmt.tpp_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