diff options
| author | Maxime Dénès | 2017-11-08 12:56:10 +0100 |
|---|---|---|
| committer | Maxime Dénès | 2017-11-08 12:56:10 +0100 |
| commit | 1cdfd1add9e64796f2be92c3088eb0d0443de2d3 (patch) | |
| tree | 31192a92d94acf457ce2c809f248b42094f02794 /lib/feedback.mli | |
| parent | 89dce4677b788a23cc1541236d1d72fe525553c9 (diff) | |
| parent | 4197eb4f94f0bd57b4e9cd391a19968eed373a0d (diff) | |
Merge PR #6087: [feedback] Helper to print feedback messages in the console.
Diffstat (limited to 'lib/feedback.mli')
| -rw-r--r-- | lib/feedback.mli | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/feedback.mli b/lib/feedback.mli index 73b84614f1..62b909516f 100644 --- a/lib/feedback.mli +++ b/lib/feedback.mli @@ -99,3 +99,11 @@ val msg_error : ?loc:Loc.t -> Pp.t -> unit val msg_debug : ?loc:Loc.t -> Pp.t -> unit (** For debugging purposes *) + +val console_feedback_listener : Format.formatter -> feedback -> unit +(** Helper for tools willing to print to the feedback system *) + +val warn_no_listeners : bool ref +(** The library will print a warning to the console if no listener is + available by default; ML-clients willing to use Coq without a + feedback handler should set this to false. *) |
