disableLogs method

Future<void> disableLogs()

Disables log functionality of the library. Logs will not be printed to console and log callback will be disabled. Note that log functionality is enabled by default.

Implementation

Future<void> disableLogs() async {
  try {
    await _methodChannel.invokeMethod('disableLogs');
  } on PlatformException catch (e) {
    print("Plugin disableLogs error: ${e.message}");
  }
}