package websocketml

  1. Overview
  2. Docs
module EscCodes : sig ... end
type verbose =
  1. | ERROR
  2. | WARN
  3. | INFO
  4. | DEBUG
val level_of_verbose : verbose -> int
val verbose : verbose ref
val set_verbose : verbose -> unit
val print : out_channel -> string -> string -> ((('a, out_channel, unit) format -> 'a) -> 'b) -> unit
val print_level : verbose -> out_channel -> string -> string -> ((('a, out_channel, unit) format -> 'a) -> 'b) -> unit
val error : ((('a, out_channel, unit) format -> 'a) -> 'b) -> unit
val warn : ((('a, out_channel, unit) format -> 'a) -> 'b) -> unit
val info : ((('a, out_channel, unit) format -> 'a) -> 'b) -> unit
val debug : ((('a, out_channel, unit) format -> 'a) -> 'b) -> unit
OCaml

Innovation. Community. Security.