 message_hook(+Term, 
+Kind, +Lines)
message_hook(+Term, 
+Kind, +Lines)user to 
intercept messages from print_message/2. Term 
and Kind are the same as passed to print_message/2. Lines 
is a list of format statements as described with print_message_lines/3. 
See also
message_to_string/2.
This predicate must be defined dynamic and multifile to allow other modules defining clauses for it too.