log.setLevel(level: string) 通过该方法设置 SDK 打印 log 的等级,一共有 4 个等级 disable warning debug log 设置为 disable 后将不会打印数据, 默认为 log import { log } from 'pili-rtc-web'; // 关闭 SDK 的 console 打印 log.setLevel("disable");