Module Feedback
type level=|Debug|Info|Notice|Warning|Errortype doc_id= intDocument unique identifier for serialization
val default_route : route_id
type feedback_content=|Processed|Incomplete|Complete|ProcessingIn of string|InProgress of int|WorkerStatus of string * string|AddedAxiom|GlobRef of Loc.t * string * string * string * string|GlobDef of Loc.t * string * string * string|FileDependency of string option * string|FileLoaded of string * string|Custom of Loc.t option * string * Xml_datatype.xml|Message of level * Loc.t option * Pp.ttype feedback={doc_id : doc_id;span_id : Stateid.t;route : route_id;contents : feedback_content;}
Feedback sent, even asynchronously, to the user interface
val add_feeder : (feedback -> unit) -> intadd_feeder fadds a feeder listinerf, returning its id
val feedback : ?did:doc_id -> ?id:Stateid.t -> ?route:route_id -> feedback_content -> unitfeedback ?did ?sid ?route fbproduces feedbackfb, withrouteanddid, sidset appropiatedly, if absent, it will use the defaults set byset_id_for_feedback
output functions
val msg_info : ?loc:Loc.t -> Pp.t -> unitMessage that displays information, usually in verbose mode, such as
Foobar is defined
val msg_notice : ?loc:Loc.t -> Pp.t -> unitMessage that should be displayed, such as
Print FooorShow Bar.
val msg_warning : ?loc:Loc.t -> Pp.t -> unitMessage indicating that something went wrong, but without serious consequences.
val console_feedback_listener : Stdlib.Format.formatter -> feedback -> unitHelper for tools willing to print to the feedback system