11.3.157 portray_message/2 [hook]

Synopsis

:- multifile user:portray_message/2.

user:portray_message(+Severity, +MessageTerm)

Called by print_message/2 before processing the message. If this succeeds, it is assumed that the message has been processed and nothing further is done.

Arguments

Severity
one of [informational,warning,error,help,silent]
MessageTerm
term

Exceptions

An exception raised by this predicate causes an error message to be printed and then the original message is printed using the default message text and formatting.

See Also

ref-msg.


Send feedback on this subject.