package logs

  1. Overview
  2. Docs
Logging infrastructure for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

logs-0.9.0.tbz
sha512=b75fb28e83f33461b06b5c9b60972c4a9a9a1599d637b4a0c7b1e86a87f34fe5361e817cb31f42ad7e7cbb822473b28fab9f58a02870eb189ebe88dae8e045ff

doc/logs.lwt/Logs_lwt/module-type-LOG/index.html

Module type Logs_lwt.LOGSource

Sourceval msg : Logs.level -> 'a log
Sourceval app : 'a log
Sourceval err : 'a log
Sourceval warn : 'a log
Sourceval info : 'a log
Sourceval debug : 'a log
Sourceval kmsg : ?over:(unit -> unit) -> (unit -> 'b Lwt.t) -> Logs.level -> ('a, 'b Lwt.t) Logs.msgf -> 'b Lwt.t

Logging result value Errors

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

Innovation. Community. Security.