| = NAME =
dprint
|
| = SYNOPSIS =
* dprint "message"
|
FUEGO_LOGLEVELS
to see how the log level may be set.
| = DESCRIPTION =
This function outputs the message, if the log level is set to 'debug'
for the current area of Fuego test execution. See [[FUEGO_LOGLEVELS]]
to see how the log level may be set.
|
Any shell variable can be output as part of the message, as
well as any information that might be helpful to debug the test execution.
| Any shell variable can be output as part of the message, as
well as any information that might be helpful to debug the test execution.
|
This function will output the message, along with a prefix with the word
DEBUG, and indicating the current execution phase.
| This function will output the message, along with a prefix with the word
DEBUG, and indicating the current execution phase.
|
| = EXAMPLES =
Here is a sample invocation:
{{{#!YellowBox
dprint "The board is currently: $NODE_NAME"
}}}
|
If this were in the 'test_deploy' function, this
might output the following, during test execution:
| If this were in the 'test_deploy' function, this
might output the following, during test execution:
|
DEBUG(deploy): The board is currently: raspberrypi
}}}
| {{{
DEBUG(deploy): The board is currently: raspberrypi
}}}
|
| = ENVIRONMENT and ARGUMENTS =
This function is controlled by the value of FUEGO_LOGLEVELS.
|
| = RETURN =
Returns 0
|
| = SOURCE =
Located in ''scripts/common.sh''
|
vprint, iprint, wprint, eprint
| = SEE ALSO =
* [[function_vprint|vprint]], [[function_iprint|iprint]], [[function_wprint|wprint]], [[function_eprint|eprint]]
|