禁用来自 iOS 10 的 Xcode 8 控制台的额外信息
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/39585796/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Disable extra information from the Xcode 8 console for iOS 10
提问by Mutawe
Ive just updated to the new Xcode 8, but when i run my application it give lots of console information "only when i plug an iOS +10 device or iPhone 7 simulator" but does not show the desired log because of the new information that the logs shows such as:
我刚刚更新到新的 Xcode 8,但是当我运行我的应用程序时,它会提供大量控制台信息“仅当我插入 iOS +10 设备或 iPhone 7 模拟器时”但没有显示所需的日志,因为新信息日志显示如:
nw_endpoint_handler_cancel
nw_resolver_cancel_on_queue
tcp_connection_cancel
sa_dst_compare_internal
How to disable those things?
如何禁用这些东西?