disableConsoleLog static method
setLogLevel
It is possible to disable the default collection of console logs by calling the following method prior to the initialization of Gleap.
Available Platforms
Web, Android, iOS
Implementation
static Future<void> disableConsoleLog() async {
if (!kIsWeb && !io.Platform.isAndroid && !io.Platform.isIOS) {
debugPrint(
'disableConsoleLog is not available for current operating system',
);
return;
}
await _channel.invokeMethod('disableConsoleLog');
}