Err.Private
Private
is used by Log_cli
. We mean both libraries to work as companion libs. Note any of this can change without notice and without requiring a semver bump, so use at your own risk (or don't).
val color_mode : Color_mode.t Stdlib.ref
val set_log_level :
get:(unit -> Log_level.t) ->
set:(Log_level.t -> unit) ->
unit
Since Err
does not depend on Logs
, the Err
and Logs
levels must be set independently. However, this is done for you consistently if you are using Log_cli
.