setLogLevel static method

Future<void> setLogLevel(
  1. int logLevel
)

Sets the log level.

Implementation

static Future<void> setLogLevel(int logLevel) async {
  _activeLogLevel = logLevel;
  try {
    await init();
    return _platform.ffmpegKitConfigSetLogLevel(logLevel);
  } on PlatformException catch (e, stack) {
    print("Plugin setLogLevel error: ${e.message}");
    return Future.error("setLogLevel failed.", stack);
  }
}