Skip to main content
Version: v3

console

Start from API_LEVEL 2.0 . Please refer to API_LEVEL.

Console Print Log.

Methods

log

Print log level logs with any number of parameters. Each log is limited in length and will be truncated if it is exceeded. To print the full content, the developer needs to print the content in multiple times

log(...data: any[]): void

Example

console.log('Hello Zepp OS')