package lablgtk

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type log_level = [
  1. | `CRITICAL
  2. | `DEBUG
  3. | `ERROR
  4. | `FLAG_FATAL
  5. | `FLAG_RECURSION
  6. | `INFO
  7. | `MESSAGE
  8. | `WARNING
]
val log_level : [< `CRITICAL | `CUSTOM of int | `DEBUG | `ERROR | `FLAG_FATAL | `FLAG_RECURSION | `INFO | `MESSAGE | `WARNING ] -> int
type log_handler
val set_log_handler : ?domain:string -> levels:log_level list -> (level:int -> string -> unit) -> log_handler
val remove_log_handler : log_handler -> unit
val set_always_fatal : log_level list -> unit
val set_fatal_mask : ?domain:string -> [ `CRITICAL | `CUSTOM of int | `DEBUG | `ERROR | `FLAG_FATAL | `FLAG_RECURSION | `INFO | `MESSAGE | `WARNING ] list -> unit
val log : ?domain:string -> [ `CRITICAL | `CUSTOM of int | `DEBUG | `ERROR | `FLAG_FATAL | `FLAG_RECURSION | `INFO | `MESSAGE | `WARNING ] -> ('a, unit, string, unit) Stdlib.format4 -> 'a
OCaml

Innovation. Community. Security.