package lablgtk3

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

@gtkdoc glib glib-Message-Logging

type log_level = [
  1. | `CRITICAL
  2. | `DEBUG
  3. | `ERROR
  4. | `FLAG_FATAL
  5. | `FLAG_RECURSION
  6. | `INFO
  7. | `MESSAGE
  8. | `WARNING
]
val log_level : [< log_level | `CUSTOM of int ] -> 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 -> [ log_level | `CUSTOM of int ] list -> unit
val log : ?domain:string -> [ log_level | `CUSTOM of int ] -> ('a, unit, string, unit) Stdlib.format4 -> 'a
OCaml

Innovation. Community. Security.