module Message:sig..end
typeprint_func =string -> unit
val set_print_handler : (string -> unit) -> print_functypelog_level =[ `CRITICAL
| `DEBUG
| `ERROR
| `FLAG_FATAL
| `FLAG_RECURSION
| `INFO
| `MESSAGE
| `WARNING ]
val log_level : log_level -> inttype log_handler
val set_log_handler : domain:string ->
levels:log_level list ->
(level:int -> string -> unit) -> log_handlerval remove_log_handler : log_handler -> unitval handle_criticals : domain:string -> unit