Format | set_debug_mode(+$KEY) | |||
---|---|---|---|---|
Arguments |
| |||
See also | unset_debug_mode/1 is_debug_mode/1 debug_message/3 debug_message/2 error_message/2 error_message/1 | |||
This predicate enables the debug mode corresponding to $KEY. $KEY = "error" corresponds to the error mode, and is set by default. |
Format | unset_debug_mode(+$KEY) | |||
---|---|---|---|---|
Arguments |
| |||
See also | set_debug_mode/1 is_debug_mode/1 debug_message/3 debug_message/2 error_message/2 error_message/1 | |||
This predicate disables the debug mode corresponding to $KEY. $KEY = "error" corresponds to the error mode, and is set by default. |
Format | is_debug_mode(+$KEY) | |||
---|---|---|---|---|
Arguments |
| |||
See also | set_debug_mode/1 unset_debug_mode/1 debug_message/3 debug_message/2 error_message/2 error_message/1 | |||
This predicate succeeds when the debug mode corresponding to $KEY is enabled. $KEY = "error" corresponds to the error mode, and is enabled by default. |
Format | debug_message(+$KEY, +$MESSAGE, +$ARGS) | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Arguments |
| |||||||||
See also | set_debug_mode/1 unset_debug_mode/1 is_debug_mode/1 debug_message/2 io:'format/3' | |||||||||
This predicate prints a debug message if the debug mode $KEY is enabled. Otherwise, do nothing. $MESSAGE and $ARGS follow the description of 'format/3' |
Format | debug_message(+$KEY, +$MESSAGE) | ||||||
---|---|---|---|---|---|---|---|
Arguments |
| ||||||
See also | set_debug_mode/1 unset_debug_mode/1 is_debug_mode/1 debug_message/3 io:'format/2' | ||||||
This predicate prints a debug message if the debug mode $KEY is enabled. Otherwise, do nothing. |
Format | error_message(+$MESSAGE, +$ARGS) | ||||||
---|---|---|---|---|---|---|---|
Arguments |
| ||||||
See also | set_debug_mode/1 unset_debug_mode/1 is_debug_mode/1 error_message/1 io:'format/3' | ||||||
This predicate prints an error message if the debug mode "error" is enabled. Otherwise, do nothing. $MESSAGE and $ARGS follow the description of 'format/3' |
Format | error_message(+$MESSAGE) | |||
---|---|---|---|---|
Arguments |
| |||
See also | set_debug_mode/1 unset_debug_mode/1 is_debug_mode/1 error_message/2 io:'format/2' | |||
This predicate prints an error message if the debug mode "error" is enabled. Otherwise, do nothing. |