FrontPage 

Fuego wiki

Login or create account

function wprint in split format

NAME [edit section]

= NAME =
wprint

SYNOPSIS [edit section]

= SYNOPSIS =
 * wprint "message"

DESCRIPTION [edit section]

= DESCRIPTION =
This function outputs the message, if the log level is set to 'warning'
or anything lower, for the current area of Fuego test execution.
This function should be used to indicate a non-fatal condition that may
require user consideration or action.
See FUEGO_LOGLEVELS to see how the log level may be set.
See [[FUEGO_LOGLEVELS]]
to see how the log level may be set.
Any shell variables can be output as part of the message, as well as any information that might be helpful to address the warning.
Any shell variables can be output as part of the message, as
well as any information that might be helpful to address the warning.
This routine will add an extra prefix to the message, to draw attention to this message in the console log for the test run. The prefix is: "### WARNING:".
This routine will add an extra prefix to the message, to draw attention to
this message in the console log for the test run.  The prefix is:
"### WARNING:".

EXAMPLES [edit section]

= EXAMPLES =
Here is a sample invocation:
{{{#!YellowBox
    wprint "Something is not right...."
}}}
This would output:
This would output:
### WARNING: Something is not right...
}}}
{{{
### WARNING: Something is not right...
}}}

ENVIRONMENT and ARGUMENTS [edit section]

= ENVIRONMENT and ARGUMENTS =
This function is controlled by the value of FUEGO_LOGLEVELS.

RETURN [edit section]

= RETURN =
Returns 0

SOURCE [edit section]

= SOURCE =
Located in ''scripts/common.sh''

SEE ALSO [edit section]

dprint, vprint, iprint, eprint
= SEE ALSO =
 * [[function_dprint|dprint]], [[function_vprint|vprint]], [[function_iprint|iprint]], [[function_eprint|eprint]]
TBWiki engine 1.8.3 by Tim Bird