package merlin-lib

  1. Overview
  2. Docs
Merlin's libraries

Install

dune-project
 Dependency

Authors

Maintainers

Sources

merlin-5.7.1-504.tbz
sha256=139b073cf914b38b725c54f75b8b642f654c3498d0a4ba8cfa831ff02a8970d5
sha512=9391d3a0aaa5065a02c6f5faaf7149f8f800c748d9be5ccff6af800ce73bdf418ead72dbeaf6ee7a6cbeae2c8e56285fbe422740ed407bcc4edab889dd1c8f9c

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