setLogCallback static method
Implementation
static Future<void> setLogCallback({
required Function(LogLevel level, String message) callback,
}) async {
_logCallback = callback;
final result = await _channel.invokeMethod('setLogCallback');
ExceptionHandler.checkException(result);
}