function_eprint 

Fuego wiki

Login or create account

function eprint

NAME [edit section]

eprint

SYNOPSIS [edit section]

  • eprint "message"

DESCRIPTION [edit section]

This function outputs the message, always. That is, the message is output no matter what the log level. This function should be used to indicate a fatal condition that requires user consideration or action.

Shell variable values can be output as part of the message.

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: "!!! ERROR:".

EXAMPLES [edit section]

Here is a sample invocation:
        eprint "Cannot write to disk -- cannot continue"

This would output:

!!! ERROR: Cannot write to disk -- cannot continue

ENVIRONMENT and ARGUMENTS [edit section]

None

RETURN [edit section]

Returns 0

SOURCE [edit section]

Located in scripts/common.sh

SEE ALSO [edit section]

TBWiki engine 1.8.3 by Tim Bird