package logs-async

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val msg : Logs.level -> 'a log

See Logs.msg.

val app : 'a log

See Logs.app.

val err : 'a log

See Logs.err.

val warn : 'a log

See Logs.warn.

val info : 'a log

See Logs.info.

val debug : 'a log

See Logs.debug.

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

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 Async_kernel.Deferred.t) -> ('a, 'b) Stdlib.result Async_kernel.Deferred.t -> 'a Async_kernel.Deferred.t

See Logs.on_error.

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

See Logs.on_error_msg.

OCaml

Innovation. Community. Security.