设置调试模式下,控制台输出日志的等级;
xyRTC.logger.setLogLevel(level: 'INFO' | 'DEBUG' | 'WARNING' | 'ERROR' | 'NONE'): void
debug 方法,输出所有 API 日志信息
xyRTC.logger.debug(title: any, content: any = '', ...rest): void
log 方法,输出 INFO、WARNING、ERROR 级别的日志信息
xyRTC.logger.log(title: any, content: any = '', ...rest): void
warn 方法,输出 WARNING 和 ERROR 级别的日志信息
xyRTC.logger.warn(title: any, content: any = '', ...rest): void
error 方法,输出 ERROR 级别的日志信息
xyRTC.logger.error(title: any, content: any = '', ...rest): void
启用日志上传
xyRTC.logger.enableLogUpload(): void
禁用用日志上传
xyRTC.logger.disableLogUpload(): void
下载会议日志到本地
xyRTC.logger.downloadLog(): void
上传最近三次会议日志到小鱼日志平台
xyRTC.logger.uploadLog(name: string): Promise<boolean>
设置日志服务器地址
xyRTC.logger.setLogServer(logServer: string): void