debug, info, warn, error¶
Log some information
These commands allow you to create logging information. Depending on the logging settings, i.e. the command you use, these messages will be displayed on the standard output of the console running the Experiment Controller, and/or written to the Experiment log file.
- info and warn messages will be written on both the standard output and the Experiment log file.
- debug and error messages will be written only in the Experiment log file.
Syntax¶
debug(arg1, ...) info(arg1, ...) warn(arg1, ...) error(arg1, ...) or debug "hello" info "my experiment name is foo"where:
- argX: is one or more String(s)
The arguments to these commands will be converted into strings and joined without additional spaces between them.
Usage¶
1 info("Starting")
2 ...
3 debug(i, " resource(s) are up")
The Basic "Hello-World" Tutorial gives a another usage example for these commands.