In the Overview we discussed several likely ways this facility might be used. The ways to accomplish such goals are discussed in the following sections. To sum up, here are some motivations for customizing messages, with an indication of which procedures should be used:
generate_message_hook/3
)
generate_message_hook/3
)
message_hook/3
to override the
defaults given by print_message_lines/3
).
You can specify an action
to replace or augment the default action by defining clauses for
user:message_hook/3
. Examples:
warning
messages, blink a light.
warning
messages cause a window
of a certain design to pop up and display the message.
informational
messages.
query_hook/6
)
generate_message/3
; see ref-msg-ime)