SDK logs

Updated

Collect SDK logs for trouble shooting.

If you’re troubleshooting an issue with the Agora Chat SDK, Agora support team might ask you to send the SDK logs. Logs record information about events that occurred in the SDK. These include errors and warnings as well as informational events.

Collect SDK logs

To output logs on the console, you need to enable the debug mode by setting debugModel to true during SDK initialization.

chatlog.log(`${ChatClient.TAG}: login: `, userName, "******", isPassword);