package logs-async

  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 Async_kernel.Deferred.t) -> Logs.level -> ('a, 'b Async_kernel.Deferred.t) Logs.msgf -> 'b Async_kernel.Deferred.t

Logging result value Errors

val on_error : ?level:Logs.level -> ?header:string -> ?tags:Logs.Tag.set -> pp:(Format.formatter -> 'b -> unit) -> use:('b -> 'a Async_kernel.Deferred.t) -> ('a, 'b) result Async_kernel.Deferred.t -> 'a Async_kernel.Deferred.t
val on_error_msg : ?level:Logs.level -> ?header:string -> ?tags:Logs.Tag.set -> use:(unit -> 'a Async_kernel.Deferred.t) -> ('a, [ `Msg of string ]) result Async_kernel.Deferred.t -> 'a Async_kernel.Deferred.t
OCaml

Innovation. Community. Security.