| Did you know ... | Search Documentation: | 
|  | Predicate checker/2 | 
:- use_module(library(check)). [nondet,multifile]checker(:Goal, 
+Message:text)
[nondet,multifile]checker(:Goal, 
+Message:text)my_checks 
module defines a predicate list_format_mistakes/0:
:- multifile check:checker/2.
check:checker(my_checks:list_format_mistakes,
              "errors with format/2 arguments").
The predicate is dynamic, so you can disable checks with retract/1. For example, to stop reporting redefined predicates:
retract(check:checker(list_redefined,_)).