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