[英]flutter release/production app view ios logs
How can i view the logs for an app that runs in release mode (flutter run --release) on iOS (14.5) physical device?如何查看在 iOS (14.5) 物理设备上以发布模式 (flutter run --release) 运行的应用程序的日志? I tried logging with
print
, debugPrint
nothing gets printed in the OS X console app (/System/Applications/Utilities/Console.app).我尝试使用
print
进行记录, debugPrint
在 OS X 控制台应用程序(/System/Applications/Utilities/Console.app)中没有打印任何内容。 i also tried in the terminal the 'flutter logs -v' command, nothing no logs or errors running this command.我还在终端中尝试了“flutter logs -v”命令,没有任何日志或运行此命令的错误。
You could use sentry.io , which lets you track errors and performance.您可以使用sentry.io ,它可以让您跟踪错误和性能。 They have an SDK for flutter and installing/implementing instructions to get started, once you setup a project.
他们有一个 flutter 的 SDK 和安装/实施说明开始,一旦你设置了一个项目。
Sentry is open-source and has paid options as well. Sentry 是开源的,也有付费选项。
I don't know how you have built your backend, but if you use firebase you can use their crashlytics solution.我不知道您是如何构建后端的,但如果您使用 firebase,您可以使用他们的crashlytics解决方案。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.