Here is an example:
Note that a sample of this line is provided in the Jenkins job for every test. It is, by default, commented out. However, you can easily turn on FUEGO_LOGLEVELS by uncommenting this line. You can customize the log level to use for different execution areas by changing the value of the variable.
To change this line in a Jenkins job, select the job in the Jenkins interface, then select "Configure", and edit the line in "Execute Shell - Command" box, in the "Build" section of the job configuration.
If the FUEGO_LOGLEVELS variable is not set, the default logging level for all areas of test execution is "info".
Specifying a particular level means that all messages above that level will be output. Messages at level 'error' are always shown, no matter what log level is specified.
The following functions are available:
- dprint - print output if the message level is 'debug'.
- vprint - print output if the message level is 'debug' or 'verbose'.
- iprint - print output if the message level is 'debug', verbose', or 'info'.
- wprint - print output if the message level is 'debug', 'verbose', 'info', or warning'.
- eprint - print output always (message level 'error')
FUEGO_DEBUG variable for controlling debug output of Fuego. However, as of Fuego version 1.4, both FUEGO_DEBUG is still supported for backwards compatibility.