setLogging static method

Future<void> setLogging(
  1. bool value
)

Enables logging.

Implementation

static Future<void> setLogging(bool value) async {
  await _channel.invokeMethod('enableLogging', value);
  _loggingEnabled = value;
}