Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

Initializing Logs

Updated on 2023-03-16 GMT+08:00

API Description

You can enable the SDK log function to record log information generated during API calling into log files for subsequent data analysis or fault location.

Method Definition

ObsClient.initLog(parameter)

Parameter Description

Field

Type

Optional or Mandatory

Description

level

String

Mandatory

Log level. Possible values are debug, info, warn, and error.

Sample Code

obsClient.initLog({
       level:'info'
});
Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback