package merlin-lib

  1. Overview
  2. Docs
Merlin's libraries

Install

Dune Dependency

Authors

Maintainers

Sources

merlin-5.3-502.tbz
sha256=2cea46f12397fa6e31ef0c0d4f5e11c1cfd916ee49420694005c95ebb3aa24bc
sha512=e94abb9ae38149245337db033e2c3891c7ec772168e99abf1bda0216a894c0854e7170b56fe88eba83ec98f2ebc0f5c7c723e8db14f59eeb6dd348bec12c6d62

doc/merlin-lib.utils/Merlin_utils/Logger/index.html

Module Merlin_utils.LoggerSource

Log module * * 1. Provide functions to log arbitrary messages, filtered according to a * section and a verbosity level. * * 2. Allow to setup a destination for these log messages. * *

Sourceval log : section:string -> title:string -> ('b, unit, string, unit) format4 -> 'b
Sourceval fmt : unit -> (Format.formatter -> unit) -> string
Sourceval json : unit -> (unit -> Std.json) -> string
Sourceval exn : unit -> exn -> string
Sourceval log_flush : unit -> unit
Sourcetype notification = {
  1. section : string;
  2. msg : string;
}
Sourceval notify : section:string -> ('b, unit, string, unit) format4 -> 'b
Sourceval with_notifications : notification list ref -> (unit -> 'a) -> 'a
Sourceval with_log_file : string option -> ?sections:string list -> (unit -> 'a) -> 'a
Sourcetype 'a printf = title:string -> ('a, unit, string, unit) format4 -> 'a
Sourcetype logger = {
  1. log : 'a. 'a printf;
}
Sourceval for_section : string -> logger
OCaml

Innovation. Community. Security.