美文网首页
Xcode8隐藏多余打印log信息

Xcode8隐藏多余打印log信息

作者: zakariyyaSv | 来源:发表于2017-05-20 11:34 被阅读142次

    在Xcode8中启动运行项目会打印以下信息:

    2016-06-13 16:33:34.406093 TestiOS10[8209:100611] bundleid: com.appc.TestiOS10, enable_level: 0, persist_level: 0, propagate_with_activity: 0
    2016-06-13 16:33:34.406323 TestiOS10[8209:100607] Created DB, header sequence number = 248
    2016-06-13 16:33:34.409564 TestiOS10[8209:100611] subsystem: com.apple.UIKit, category: HIDEvents, enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 0, privacy_setting: 0
    2016-06-13 16:33:34.504117 TestiOS10[8209:100607] Created DB, header sequence number = 248
    2016-06-13 16:33:34.548023 TestiOS10[8209:100607] subsystem: com.apple.BaseBoard, category: MachPort, enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 0, privacy_setting: 0
    2016-06-13 16:33:34.568458 TestiOS10[8209:100608] subsystem: com.apple.FrontBoard, category: Common, enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 0, privacy_setting: 0
    

    如果希望隐藏这些信息该怎么办呢?可以试试下面这个方法。

    1.在Xcode中依次选择Product > Scheme > Edit Scheme。
    2.在弹出的菜单中按下图操作设置即可。

    相关文章

      网友评论

          本文标题:Xcode8隐藏多余打印log信息

          本文链接:https://www.haomeiwen.com/subject/botpxxtx.html