Fuego wiki

Login or create account

function vprint

NAME [edit section]


SYNOPSIS [edit section]

  • vprint "message"

DESCRIPTION [edit section]

This function outputs the message, if the log level is set to 'verbose' or 'debug' for the current area of Fuego test execution. This function should be used to output additional information that might be helpful for the user to see about the test execution. These messages, however, do not appear by default (since the default log level is 'info').

See FUEGO_LOGLEVELS to see how the log level may be set.

Any shell variable can be output as part of the message.

EXAMPLES [edit section]

Here is a sample invocation:
        vprint "Just completed step 'foo'."

ENVIRONMENT and ARGUMENTS [edit section]

This function is controlled by the value of FUEGO_LOGLEVELS.

RETURN [edit section]

Returns 0

SOURCE [edit section]

Located in scripts/

SEE ALSO [edit section]

TBWiki engine 1.8.3 by Tim Bird