package merlin-lib

  1. Overview
  2. Docs
Merlin's libraries

Install

Dune Dependency

Authors

Maintainers

Sources

merlin-4.19-414.tbz
sha256=60a630f59203a9ce7047a5f04d0f239945960dac6f38102922e328b6d2657384
sha512=19f8ec152356873e29c05b971a529146bb7079929037c2b35a5c0afb0b3adf662341ee8527282c5fdd16de391d01c2c469fc8629af9e0ae443fa9f42472b70bb

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.