Agora-Flutter-SDK icon indicating copy to clipboard operation
Agora-Flutter-SDK copied to clipboard

Disabling logging does not seem to work

Open duck-dev-go opened this issue 3 years ago • 2 comments

Describe the bug Disabling logging does not seem to work

To Reproduce Put this code in you main function of your flutter project

  final agoraEngine = await RtcEngine.createWithContext(RtcEngineContext(
    AgoraEnvironment.appId,
    logConfig: LogConfig(
      level: LogLevel.None,
    ),
  ));

Expected behavior No logs from agora

Desktop (please complete the following information):

  • Macbook m1 pro
  • Google Chrome latest version
  • Flutter 3.0.1
  • Package Agora: 5.2.0

duck-dev-go avatar Jun 29 '22 00:06 duck-dev-go

I think this can only control the log output to the log files.

littleGnAl avatar Jun 30 '22 13:06 littleGnAl

Is there a way to disable the logging?

duck-dev-go avatar Jun 30 '22 13:06 duck-dev-go