Log functions
The type for Lwt log functions. The returned thread only proceeds once the log operation is over. See Logs.log.
val msg : ?src:Logs.src -> Logs.level -> 'a logSee Logs.msg.
See Logs.debug.
val kmsg : (unit -> 'b Lwt.t) -> ?src:Logs.src -> Logs.level -> ('a, 'b Lwt.t) Logs.msgf -> 'b Lwt.tSee Logs.kmsg.
Logging value Errors
val on_error : ?src:Logs.src -> ?level:Logs.level -> ?header:string -> ?tags:Logs.Tag.set -> pp:(Stdlib.Format.formatter -> 'b -> unit) -> use:('b -> 'a Lwt.t) -> ('a, 'b) Stdlib.result Lwt.t -> 'a Lwt.tSee Logs.on_error.
val on_error_msg : ?src:Logs.src -> ?level:Logs.level -> ?header:string -> ?tags:Logs.Tag.set -> use:(unit -> 'a Lwt.t) -> ('a, [ `Msg of string ]) Stdlib.result Lwt.t -> 'a Lwt.tSee Logs.on_error_msg.
Source specific log functions
module type LOG = sig ... endsrc_log src is a set of logging functions for src.