FrontPage 

Fuego wiki

Login or create account

function dprint in 'raw' format

= NAME =
dprint

= SYNOPSIS =
 * dprint "message"

= 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.

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:

{{{ 
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''

= SEE ALSO =
 * [[function_vprint|vprint]], [[function_iprint|iprint]], [[function_wprint|wprint]], [[function_eprint|eprint]]

TBWiki engine 1.8.3 by Tim Bird