Module type Logs_lwt.LOG

module type LOG = sig .. end

val msg : Logs.level -> 'a Logs_lwt.log

See Logs.msg.

val app : 'a Logs_lwt.log

See Logs.app.

val err : 'a Logs_lwt.log

See Logs.err.

val warn : 'a Logs_lwt.log

See Logs.warn.

val info : 'a Logs_lwt.log

See Logs.info.

val debug : 'a Logs_lwt.log

See Logs.debug.

val kmsg : ?over:(unit -> unit) ->
(unit -> 'b Lwt.t) -> Logs.level -> ('a, 'b Lwt.t) Logs.msgf -> 'b Lwt.t

See Logs.kmsg.

Logging result value Errors

val on_error : ?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.t

See Logs.on_error.

val on_error_msg : ?level:Logs.level ->
?header:string ->
?tags:Logs.Tag.set ->
use:(unit -> 'a Lwt.t) ->
('a, [ `Msg of string ]) Stdlib.result Lwt.t -> 'a Lwt.t

See Logs.on_error_msg.