English
English
简体中文
Contact Us
Register
Log In

Logging Service

Last Updated on : 2022-11-24 09:20:14download

This topic describes the logging service APIs and provides examples of how to implement this service using the APIs.

API list

Function name Description
setLogLevel Set the log level.
init Initialize the logging configuration on the SDK.

API description

setLogLevel

Function prototype

external fun setLogLevel(level: Int)

Functional description

Set the log level.

Parameter description

Parameter name Description
level The log level. Generally, it is set to 4.

init

Function prototype

fun init()

Functional description

Initialize the logging configuration on the SDK.