init method
Implementation
Future<void> init() {
return _memo.runOnce(() {
// This captures errors reported by the Flutter framework.
FlutterError.onError = _exceptionHandler ?? onFlutterError;
_subscription = Logger.root.onRecord.listen((record) {
performLog(record);
});
});
}