debugEx

[ Funktion ]

function debug(
    message: string | any,
    ...optionalParameters: any[]
): void;

Issues a debug message on the browser console if the constant TCHMI_CONSOLE_LOG_LEVEL is greater than or equal to 4.

Parameter

Name

Type

Description

message

string, any

The message text that is displayed in the browser console.

optionalParameters [ rest of parameters ]

any[]

Additional parameters that are passed to console.error.

Return value

Type

Description

void

No return value

debugEx 1:

Available from version 1.12

Sample - JavaScript

let variable = { complex: true, easy: 'debugging' };
TcHmi.Log.debugEx('My debug text for variable:', variable);