gpt4 book ai didi

ios - 停止来自蓝牙 GKSession 的无关日志?

转载 作者:可可西里 更新时间:2023-11-01 04:54:52 24 4
gpt4 key购买 nike

如何在GKSession开始搜索时停止下面的代码?

 BTM: posting notification BluetoothAvailabilityChangedNotification
2011-05-17 20:25:05.666 BLUConnect[2120:307] BTM: Adding new device 0x110db0 Jahangir Nawaz’s iPhone 00:23:DF:3C:BC:5B 0xf5210003
2011-05-17 20:25:05.669 BLUConnect[2120:307] BTM: _btServiceEventCallback: service = 0xffffffff eventType = 0 event = 0 result = 0
2011-05-17 20:25:06.406 BLUConnect[2120:307] BTM: _btServiceEventCallback: service = 0x800 eventType = 0 event = 1 result = 0
2011-05-17 20:25:06.466 BLUConnect[2120:307] BTM: _btServiceEventCallback: service = 0x800 eventType = 0 event = 11 result = 305
2011-05-17 20:25:06.491 BLUConnect[2120:307] BTM: received BT_SERVICE_CONNECT event type with 0 currently connected services
2011-05-17 20:25:06.494 BLUConnect[2120:307] BTM: posting notification BluetoothDeviceConnectFailedNotification
2011-05-17 20:25:07.467 BLUConnect[2120:307] BTM: received BT_LOCAL_DEVICE_CONNECTION_STATUS_CHANGED event
2011-05-17 20:25:07.469 BLUConnect[2120:307] BTM: posting notification BluetoothConnectionStatusChangedNotification
2011-05-17 20:25:11.571 BLUConnect[2120:307] BTM: _btServiceEventCallback: service = 0xffffffff eventType = 0 event = 0 result = 0
2011-05-17 20:25:12.576 BLUConnect[2120:307] BTM: _btServiceEventCallback: service = 0x800 eventType = 0 event = 1 result = 0
2011-05-17 20:25:13.581 BLUConnect[2120:307] BTM: _btServiceEventCallback: service = 0x800 eventType = 0 event = 11 result = 305
2011-05-17 20:25:13.590 BLUConnect[2120:307] BTM: received BT_SERVICE_CONNECT event type with 0 currently connected services
2011-05-17 20:25:13.591 BLUConnect[2120:307] BTM: posting notification BluetoothDeviceConnectFailedNotification
2011-05-17 20:25:14.587 BLUConnect[2120:307] BTM: received BT_LOCAL_DEVICE_CONNECTION_STATUS_CHANGED event
2011-05-17 20:25:14.589 BLUConnect[2120:307] BTM: posting notification BluetoothConnectionStatusChangedNotification
2011-05-17 20:25:15.594 BLUConnect[2120:307] BTM: _btServiceEventCallback: service = 0xffffffff eventType = 0 event = 0 result = 0
2011-05-17 20:25:16.598 BLUConnect[2120:307] BTM: _btServiceEventCallback: service = 0x800 eventType = 0 event = 1 result = 0
2011-05-17 20:25:17.604 BLUConnect[2120:307] BTM: _btServiceEventCallback: service = 0x800 eventType = 0 event = 11 result = 305
2011-05-17 20:25:17.613 BLUConnect[2120:307] BTM: received BT_SERVICE_CONNECT event type with 0 currently connected services
2011-05-17 20:25:17.614 BLUConnect[2120:307] BTM: posting notification BluetoothDeviceConnectFailedNotification
2011-05-17 20:25:18.611 BLUConnect[2120:307] BTM: received BT_LOCAL_DEVICE_CONNECTION_STATUS_CHANGED event
2011-05-17 20:25:18.613 BLUConnect[2120:307] BTM: posting notification BluetoothConnectionStatusChangedNotification
2011-05-17 20:25:19.618 BLUConnect[2120:307] BTM: _btServiceEventCallback: service = 0xffffffff eventType = 0 event = 0 result = 0
2011-05-17 20:25:20.624 BLUConnect[2120:307] BTM: _btServiceEventCallback: service = 0x800 eventType = 0 event = 1 result = 0

最佳答案

我认为这是在 Apple 的库中,似乎没有直接关闭它的方法 - 我会提交“错误”票...

我很确定,不可能通过重载/覆盖 NSLog 方法来避免这些日志。

请问是否有特定需要关闭此功能?

你好,
马蒂亚斯

关于ios - 停止来自蓝牙 GKSession 的无关日志?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6029503/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com