Namespace: console

console

The Custom Driver Console. Can be used for writing log messages during custom driver manual executions

Example

// appends the "Hello world" string to the execution logs array at info-level
console.info("Hello world");

Methods

(static) debug(message)

Write the given message to the sandbox log (debug-level). Prefixed by 'D:' in the sandbox logs
Parameters:
Name Type Description
message string The message to log

(static) error(message)

Write the given message to the sandbox log (error-level). Prefixed by 'E:' in the sandbox logs
Parameters:
Name Type Description
message string The message to log

(static) get() → {Array.<string>}

Returns the log message entries
Returns:
- An array of log messages
Type
Array.<string>

(static) info(message)

Write the given message to the sandbox log (info-level). Prefixed by 'I:' in the sandbox logs
Parameters:
Name Type Description
message string The message to log

(static) warn(message)

Write the given message to the sandbox log (warning-level). Prefixed by 'W:' in the sandbox logs
Parameters:
Name Type Description
message string The message to log