Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ParameterMandatoryDescription
commandyesThe command to be executed.
log
A LoxBerry::Log object
introlog objectThe message logged before the execution (LOGINF)
oklog objectThe message logged on success (LOGOK)
errorlog objectThe message logged on error (LOGERR). The parameter is mutually exclusive with the warn parameter.
warnlog objectThe message logged on error (LOGWARN). On error, only the severity LOGWARN instead of LOGERR is used.  The parameter is mutually exclusive with the error parameter.
okcodelog objectDefault is 0 (exitcode 0 = LOGOK). Change the exitcode, that represents a successful execution. All other exitcodes are an error.
ignoreerrors
Regardless of the exitcode, always an LOGOK message is logged.   Available from LoxBerry 3.0 (parameter is ignored below LB3.0)

Siehe auch