Library
Module
Module type
Parameter
Class
Class type
Format
colorful reporter for Logs
.
v0.7.0 - homepage
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.
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
.