$Messages

$Messages

gives the list of files and pipes to which message output is sent.

Details

Examples

Basic Examples  (2)

The default channel for messages is standard output:

Have messages go to a temporary file and the default channel:

Generate a message:

Show the contents of the temporary file:

Clean up by resetting $Messages to its default and closing the stream:

Introduced in 1988
 (1.0)