enableLogCallback method

void enableLogCallback(
  1. LogCallback? newCallback
)

Sets a callback to redirect FFmpeg logs. newCallback is the new log callback function, use null to disable a previously defined callback.

Implementation

void enableLogCallback(LogCallback? newCallback) {
  try {
    this.logCallback = newCallback;
  } on PlatformException catch (e) {
    print("Plugin enableLogCallback error: ${e.message}");
  }
}