How to view logs even if the app has been disconnected in Flutter?

Viewed 1562

I need to see the logs when the app is closed (removed from memory). But doing so disconnects the app and therefore I can't see print statements in IntelliJ console. I thought adb logcat would still show the logs, but it stops logging upon disconnect too. Can I achieve what I want without using background services?

1 Answers

Connect your device to your machine and run flutter logs

enter image description here

Related