Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val reporter : unit -> Logs.reporter
The following reporter will play nice with Async
's runtime, it will behave synchronously for the log functions of this module and asynchronously for those of the Logs
module (see sync
).
It reuses reporter
and will produce colorful output if the standard formatters are setup to do so. For example it can be used instead of reporter
in the full setup example.