= 768" x-on:close-sidebar="sidebar=window.innerWidth >= 768 && true">
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Logger
Log levels
val string_of_level : log_level -> string
val level_of_string : string -> log_level
Setup
val set_log_level : log_level -> unit
val get_log_level : unit -> log_level
val set_output : out_channel -> unit
val set_prefix_builder : (log_level -> string) -> unit
val get_prefix_builder : unit -> log_level -> string
val short_prefix_builder : log_level -> string
Ready-to-use short timestamp builder
Printf-like logging primitives
val log : log_level -> ('a, out_channel, unit, unit) format4 -> 'a
val fatal : ('a, out_channel, unit) format -> 'a
val error : ('a, out_channel, unit) format -> 'a
val warn : ('a, out_channel, unit) format -> 'a
val info : ('a, out_channel, unit) format -> 'a
val debug : ('a, out_channel, unit) format -> 'a