// // IDORecordDeviceLog.h // IDOBluetooth // // Created by hedongyang on 2018/9/25. // Copyright © 2018年 apple. All rights reserved. // #import #if __has_include() #elif __has_include() #else #import "IDOLogEnum.h" #endif @interface IDORecordDeviceLog : NSObject /** * @brief 获取设备日志信息 (在设备连接ota模式下不能使用获取设备重启日志) * Obtain device log information (When the device is connected, it is not used in the ota mode to get the device restart log) * @param callback 日志信息获取完成回调 | Log information acquisition completion callback */ + (void)getDeviceLogWithCallback:(void(^_Nullable)(BOOL isComplete))callback; /** * @brief 记录协议库外的蓝牙日志 * Record bluetooth logs outside the protocol library * @param type 日志类型 | Log type * @param logStr 日志记录 | Log str */ + (void)recordBlueLogWithType:(IDO_RECORD_LOG_TYPE)type logStr:(NSString *_Nullable)logStr; /** * @brief 设备重启日志路径 | Device restart log path * @return 日志存储目录 目录下可能有多个日志文件 日志文件是按日期生成的 * Log Storage Directory There may be multiple log files under the directory. The log files are generated by date. */ + (NSString *_Nullable)rebootLogFloderPath; /** * @brief 命令执行记录日志路径 | Command execution logging path * @return 日志存储目录 目录下可能有多个日志文件 日志文件是按日期生成的 * log Storage Directory There may be multiple log files under the directory. The log files are generated by date. */ + (NSString *_Nullable)recordLogFloaderPath; /** * sdk 更新日志文件路径(html) * sdk update log file path(html) */ + (NSString *_Nullable)updateLogFilePath DEPRECATED_MSG_ATTRIBUTE("method is deprecated"); @end