info

[ Funktion ]

function info(message: string | any): void;

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

Parameter

Name

Type

Description

message

Version 1.8

string

Version 1.10

string, any

This change is backward compatible.

The message text that is displayed in the browser console.

From version 1.10, if a data type other than string is passed, this value is no longer converted into a string and forwarded directly to the browser console.

This makes it possible to use browser-specific data type representations.

This is especially useful for complex values such as objects or arrays. Most current browsers offer the option to expand object properties.

Return value

Type

Description

void

No return value

info 1:

Available from 1.8

Sample - JavaScript

TcHmi.Log.info('My info text…');