Module type Logs.LOG
The type for source specific logging functions.
Log functions
val app : 'a logappismsg App.
val err : 'a logerrismsg Error.
val warn : 'a logwarnismsg Warning.
val info : 'a loginfoismsg Info.
val debug : 'a logdebugismsg Debug.
Logging result value Errors
val on_error : ?level:level -> ?header:string -> ?tags:Tag.set -> pp:(Stdlib.Format.formatter -> 'b -> unit) -> use:('b -> 'a) -> ('a, 'b) Stdlib.result -> 'aSee
Logs.on_error.
val on_error_msg : ?level:level -> ?header:string -> ?tags:Tag.set -> use:(unit -> 'a) -> ('a, [ `Msg of string ]) Stdlib.result -> 'aSee
Logs.on_error_msg.