書式 | set_debug_mode(+$KEY) | |||
---|---|---|---|---|
引数 |
| |||
関連項目 | 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. |
書式 | unset_debug_mode(+$KEY) | |||
---|---|---|---|---|
引数 |
| |||
関連項目 | 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. |
書式 | is_debug_mode(+$KEY) | |||
---|---|---|---|---|
引数 |
| |||
関連項目 | 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. |
書式 | debug_message(+$KEY, +$MESSAGE, +$ARGS) | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
引数 |
| |||||||||
関連項目 | 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' |
書式 | debug_message(+$KEY, +$MESSAGE) | ||||||
---|---|---|---|---|---|---|---|
引数 |
| ||||||
関連項目 | 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. |
書式 | error_message(+$MESSAGE, +$ARGS) | ||||||
---|---|---|---|---|---|---|---|
引数 |
| ||||||
関連項目 | 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' |
書式 | error_message(+$MESSAGE) | |||
---|---|---|---|---|
引数 |
| |||
関連項目 | 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. |