built-in method
print_message_tokens/3
ï
Descriptionï
print_message_tokens(Stream, Prefix, Tokens)
Built-in method for printing a list of message tokens, declared in the
logtalk built-in object as a public predicate.
This method is automatically called by the
print_message/3 method (assuming that the
message was not intercepted by a
message_hook/4 definition) and calls the
user-defined hook predicate
print_message_token/4 for each
token. When a call to this hook predicate succeeds, the
print_message_tokens/3
predicate assumes that the token have been
printed. When the call fails, the print_message_tokens/3
predicate
uses a default printing procedure for the token.
Modes and number of proofsï
print_message_tokens(@stream_or_alias, +atom, @list(nonvar)) - zero_or_one
Errorsï
(none)
Examplesï
...,
logtalk::print_message_tokens(user_error, '% ', ['Redefining ~w ~q'-[object,foo], nl]),
...