FrontPage 

Fuego wiki

Login or create account

function eprint in 'raw' format

= NAME =
eprint

= SYNOPSIS =
 * eprint "message"

= DESCRIPTION =
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 =
Here is a sample invocation:
{{{#!YellowBox
    eprint "Cannot write to disk -- cannot continue"
}}}

This would output:

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

= ENVIRONMENT and ARGUMENTS =
None

= RETURN =
Returns 0

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

= SEE ALSO =
 * [[function_dprint|dprint]], [[function_vprint|vprint]], [[function_iprint|iprint]], [[function_wprint|wprint]]

TBWiki engine 1.8.3 by Tim Bird