package logs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val msg : Logs.level -> 'a log
val app : 'a log
val err : 'a log
val warn : 'a log
val info : 'a log
val debug : 'a log
val kmsg : ?over:(unit -> unit) -> (unit -> 'b Lwt.t) -> Logs.level -> ('a, 'b Lwt.t) Logs.msgf -> 'b Lwt.t

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
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
OCaml

Innovation. Community. Security.