Module Io.CallBack

type t = {
  1. trace : string -> ?extra:string -> string -> unit;
    (*

    Send a log message, extra may contain information to be shown in verbose mode

    *)
  2. message : lvl:Level.t -> message:string -> unit;
    (*

    Send a user-visible message

    *)
  3. diagnostics : uri:Lang.LUri.File.t -> version:int -> Lang.Diagnostic.t list -> unit;
  4. fileProgress : uri:Lang.LUri.File.t -> version:int -> Progress.Info.t list -> unit;
  5. perfData : uri:Lang.LUri.File.t -> version:int -> Perf.t -> unit;
  6. serverVersion : ServerInfo.Version.t -> unit;
  7. serverStatus : ServerInfo.Status.t -> unit;
}
val set : t -> unit