Skip to content

Set Message Level

Description

Sets the level of messages that should be shown to the user.

(set-message-level ... )

Syntax and Default Values

The (set-message-level ... ) function can be created using the following Lisp syntax:

(set-message-level message_level)

Parameters

The (set-message-level ... ) function takes one argument:

  • message_level: integer message level, either 0, 1, 2 or 3.

The default message level is 1 (warnings only).

Discussion

If you set the message level to zero, you won't get any messages at all. Level 1 prints warnings only. Level 2 prints warnings, and other interesting "internal" events in Modalys. Level 3 prints everything in level 2, plus all the gruesome details of the internal computations.

You can obtain the current message level by using:

(get-info 'message-level)

Options

There are no special options for this function.