You can search for identifiers within the package.
in-package search v0.2.0
lsp
Lsp.Logger
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. * *
module Title : sig ... end
val register_consumer : ((string * Title.t * string) -> unit) -> unit
val log : section:string -> title:Title.t -> ('b, unit, string, unit) format4 -> 'b
val fmt : unit -> (Format.formatter -> unit) -> string
val json : unit -> (unit -> Yojson.t) -> string
val exn : unit -> exn -> string
val log_flush : unit -> unit
type notification = {
section : string;
msg : string;
}
val notify : section:string -> ('b, unit, string, unit) format4 -> 'b
val with_notifications : notification list ref -> (unit -> 'a) -> 'a
val with_log_file : string option -> ?sections:string list -> (unit -> 'a) -> 'a
type 'a printf = title:Title.t -> ('a, unit, string, unit) format4 -> 'a
type logger = {
log : 'a. 'a printf;
val for_section : string -> logger