Message_templates_lwt.Lwt_console_sinkLwt console sink for stdout/stderr output
Lwt console sink - async console output
Console sink type
val level_color : Message_templates.Level.t -> stringGet color code for level
val colorize : Message_templates.Level.t -> bool -> string -> stringApply color to string if enabled
val format_output : t -> Message_templates.Log_event.t -> stringSimple template formatting
val emit : t -> Message_templates.Log_event.t -> unit Lwt.tEmit a log event
val create :
?output_template:string ->
?colors:bool ->
?stderr_threshold:Message_templates.Level.t ->
unit ->
tCreate a new Lwt console sink