Swift_3.0_取消杂乱无章的log输出

时间:2024-09-02 10:34:02

一 举例: 输出的杂乱无章的东西

subsystem: com.apple.UIKit, category: HIDEventFiltered, enable_level: , persist_level: , default_ttl: , info_ttl: , debug_ttl: , generate_symptoms: , enable_oversize: , privacy_setting: , enable_private_data:
-- ::45.573686 Study_swift[:] subsystem: com.apple.UIKit, category: HIDEventIncoming, enable_level: , persist_level: , default_ttl: , info_ttl: , debug_ttl: , generate_symptoms: , enable_oversize: , privacy_setting: , enable_private_data:
-- ::45.582685 Study_swift[:] subsystem: com.apple.BaseBoard, category: MachPort, enable_level: , persist_level: , default_ttl: , info_ttl: , debug_ttl: , generate_symptoms: , enable_oversize: , privacy_setting: , enable_private_data:
-- ::45.594230 Study_swift[:] subsystem: com.apple.UIKit, category: StatusBar, enable_level: , persist_level: , default_ttl: , info_ttl: , debug_ttl: , generate_symptoms: , enable_oversize: , privacy_setting: , enable_private_data:
-- ::45.614743 Study_swift[:] subsystem: com.apple.BackBoardServices.fence, category: App, enable_level: , persist_level: , default_ttl: , info_ttl: , debug_ttl: , generate_symptoms: , enable_oversize: , privacy_setting: , enable_private_data:

二. 解决

1.

Swift_3.0_取消杂乱无章的log输出

2.

Swift_3.0_取消杂乱无章的log输出

3. 如果写了OS_ACTIVITY_MODE = disable 还是不行.把对号重新勾选就可以了.