Note:

You are viewing a development version of the library. Goto the latest version.

Module OASISMessage

module OASISMessage: sig .. end
Messages to user

These functions display information depending on the verbosity level set in OASISContext.t. They use Printf.fprintf syntax to output. You can use a ~after function, that will be called if something has been displayed.
Author(s): Sylvain Le Gall


val generic_message : ctxt:OASISContext.t ->
[ `Debug | `Error | `Info | `Warning ] ->
('a, unit, string, unit) Pervasives.format4 -> 'a
Generic message.
val debug : ctxt:OASISContext.t -> ('a, unit, string, unit) Pervasives.format4 -> 'a
Print a debug message.
val info : ctxt:OASISContext.t -> ('a, unit, string, unit) Pervasives.format4 -> 'a
Print information message.
val warning : ctxt:OASISContext.t -> ('a, unit, string, unit) Pervasives.format4 -> 'a
Print a warning message.
val error : ctxt:OASISContext.t -> ('a, unit, string, unit) Pervasives.format4 -> 'a
Print an error message.