configureFileLogging method

Future<void> configureFileLogging({
  1. required bool enabled,
  2. int? flushIntervalMs,
  3. int? maxBufferEntries,
  4. int? maxBufferBytes,
})

配置原生文件日志系统。

参数说明:

  • enabled:启用或关闭原生文件写入;
  • flushIntervalMs:周期性刷新间隔(毫秒);
  • maxBufferEntries:缓冲的最大条目数,超过则触发刷新;
  • maxBufferBytes:缓冲最大字节数,超过则触发刷新。

Implementation

Future<void> configureFileLogging({
  required bool enabled,
  int? flushIntervalMs,
  int? maxBufferEntries,
  int? maxBufferBytes,
}) {
  throw UnimplementedError(
      'configureFileLogging() has not been implemented.');
}