enableRedirection method

Future<void> enableRedirection()

Enables log and statistics redirection.

Implementation

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