モジュール lillib:debug

This module provides useful debugging routines.

バージョン

April 07, 1999

登場したバージョン

July 08, 1998

著者


目次

述語


Top of this page Contents Index of this package LiLFeS Documents LiLFeS Home Page Tsujii laboratory

述語

set_debug_mode/1

書式set_debug_mode(+$KEY)
引数
+$KEYbot a key for a debug mode
関連項目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/1

書式unset_debug_mode(+$KEY)
引数
+$KEYbot a key for a debug mode
関連項目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/1

書式is_debug_mode(+$KEY)
引数
+$KEYbot a key for a debug mode
関連項目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/3

書式debug_message(+$KEY, +$MESSAGE, +$ARGS)
引数
+$KEYbot a key for a debug mode
+$MESSAGEstring a message
+$ARGSlist arguments for the message
関連項目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/2

書式debug_message(+$KEY, +$MESSAGE)
引数
+$KEYbot a key for a debug mode
+$MESSAGEstring a 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/2

書式error_message(+$MESSAGE, +$ARGS)
引数
+$MESSAGEstring a message
+$ARGSlist arguments for the message
関連項目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/1

書式error_message(+$MESSAGE)
引数
+$MESSAGEstring a 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.

Top of this page Contents Index of this package LiLFeS Documents LiLFeS Home Page Tsujii laboratory

コメントはこちら:
MITSUISHI Yutaka (mitsuisi@is.s.u-tokyo.ac.jp)
MIYAO Yusuke (yusuke@is.s.u-tokyo.ac.jp)

This document is automatically created by lildoc on Fri Sep 24 14:14:00 2004