Next: , Previous: , Up: Core Internal Procedures verbose Procedure

Test cases can use this function to issue helpful messages depending on the number of -v/--verbose options passed to runtest on the command line. It prints string if the value of the variable verbose is higher than or equal to the optional loglevel. The default log level is 1. Use the optional -log argument to cause string to always be added to the log file, even if it won’t be printed. Use the optional -x argument to log the test results into a parsable XML file. Use the optional -n argument to print string without a trailing newline. Use the optional -- argument if string begins with "-".

verbose{-log -x -n -r string loglevel}