jhomlala / catcher

Flutter error catching & handling plugin. Handles and reports exceptions in your app!
Apache License 2.0
787 stars 177 forks source link

How to make the STACK TRACE in the console have a link that can be clicked to locate the abnormal document? #215

Closed ddxl123 closed 2 years ago

ddxl123 commented 2 years ago

How to make the STACK TRACE in the console have a link that can be clicked to locate the abnormal document?

I/flutter (30565): [2022-04-15 03:52:00.659268 | Catcher | INFO] ============================== CATCHER LOG ==============================
I/flutter (30565): [2022-04-15 03:52:00.659964 | Catcher | INFO] Crash occurred on 2022-04-15 03:51:58.573730
I/flutter (30565): [2022-04-15 03:52:00.661056 | Catcher | INFO] 
I/flutter (30565): [2022-04-15 03:52:00.661762 | Catcher | INFO] ---------- ERROR ----------
I/flutter (30565): [2022-04-15 03:52:00.662963 | Catcher | INFO] aaaaa
I/flutter (30565): [2022-04-15 03:52:00.663128 | Catcher | INFO] 
I/flutter (30565): [2022-04-15 03:52:00.663705 | Catcher | INFO] ------- STACK TRACE -------
I/flutter (30565): [2022-04-15 03:52:00.664327 | Catcher | INFO] #0      _FragmentHomeState.build.<anonymous closure>.<anonymous closure> (package:aaa/fragmenthome/FragmentHome.dart:49:19)
I/flutter (30565): [2022-04-15 03:52:00.664892 | Catcher | INFO] <asynchronous suspension>
I/flutter (30565): [2022-04-15 03:52:00.665080 | Catcher | INFO] #1      _FragmentHomeState.build.<anonymous closure> (package:aaa/fragmenthome/FragmentHome.dart:35:15)
I/flutter (30565): [2022-04-15 03:52:00.665281 | Catcher | INFO] <asynchronous suspension>
I/flutter (30565): [2022-04-15 03:52:00.665865 | Catcher | INFO] 
I/flutter (30565): [2022-04-15 03:52:00.666254 | Catcher | INFO] ======================================================================
I/flutter (30565): [2022-04-15 03:52:00.670050 | Catcher | INFO] Report result: true