print_message_token(Stream, Prefix, Token, Tokens)
User-defined hook method for printing a message token, declared in the logtalk
built-in object as a public, multifile, and dynamic predicate. It allows the user to intercept the printing of a message token. This hook method is automatically called by the print_message_tokens/3
built-in method for each token.
print_message_token(@stream_or_alias, @atom, @nonvar, @list(nonvar))
(none)
:- multifile(logtalk::print_message_token/4). :- dynamic(logtalk::print_message_token/4). % ignore all flush tokens logtalk::print_message_token(_Stream, _Prefix, flush, _Tokens).
message_hook/4
, message_prefix_stream/4
, message_tokens//2
, print_message/3
, print_message_tokens/3
ask_question/5
, question_hook/6
, question_prompt_stream/4