logo
On this page

How to reduce the information printed by Express SDK in the Web console?

2023-05-04
Products / Plugins:Video Call / Audio Call / Live streaming
Platform / Framework:Web

Call the setLogConfig interface and set the log level printed in the local console through the "logLevel" property in the ZegoLogConfig object.

In general, ZEGOCLOUD does not recommend setting the log level too high. Keep the default value info. The higher the log level is set, the less logs are printed, making it difficult to troubleshoot when problems occur.

Previous

On the Web platform, how to handle connection disconnection during the process of relaying streams to CDN?

Next

When Express SDK logs out of a room, is it necessary to actively stop publishing and playing streams?