AgoraIO-Community / Agora-Electron-Quickstart

Quickstart for Agora Electron SDK(Windows/macOS) https://github.com/AgoraIO/Electron-SDK
71 stars 36 forks source link

怎样调用LogConfig #79

Closed Neverland closed 2 years ago

Neverland commented 3 years ago

c++ 版本是个顶级对象,electron没实现?

RoJoHub commented 3 years ago

npm 上3.5.0-rc.4-build.1105版本支持 logConfig

initialize(
    appid: string,
    areaCode: AREA_CODE = 0xffffffff,
    logConfig?: LogConfig
  ): number {
    return this.rtcEngine.initialize(appid, areaCode, logConfig);
  }