主頁(yè) > 服務(wù)與支持 > 開(kāi)發(fā)平臺(tái) > 客戶端SDK參考 > iOS Native SDK > 問(wèn)題定位 日志分析
更新時(shí)間:2019-11-20
日志路徑是應(yīng)用程序在SDK各組件的初始化階段自定義路徑。
[YYYY-MM-DD HH:MM:SS.MS][P:xxxx/T:xxxx][level][filename:line function]log info string
其中:
[YYYY-MM-DD HH:MM:SS.MS] 表示日志打印時(shí)間,精確到ms;
[P:xxxx/T:xxxx] 表示日志所在的進(jìn)程ID和線程ID;
[level] 表示日志級(jí)別,包括錯(cuò)誤(Err)、警告(War)、信息(Inf)和調(diào)試(Dbg)級(jí)別;
[filename:line function]表示日志所在的文件名,行號(hào)和函數(shù);
log info string 為日志信息描述。
建議開(kāi)發(fā)者根據(jù)時(shí)間順序進(jìn)行相應(yīng)的業(yè)務(wù)調(diào)用分析。
[2017-05-05 16:29:35.077][P:7920/T:8776][Inf][call][call_msg.c:881 CALLMPROC_MSG_AsynSend]ulMsgID = 0x00000008[CALL_E_EVT_CALL_DESTROY], ulParam123 = [0x7bdfb600, 1, 0], from [P7920] to [P7920] [2017-05-05 16:29:35.077][P:7920/T:8776][Dbg][call][call_basic.c:969 callbasicDestroyBasicCall]MEDIA_SetAudioPlayDelay(0) 0 [2017-05-05 16:29:35.079][P:7920/T:8776][Dbg][call][call_basic.c:15740 CallBasicSetVideoMute]callID:0x7bdfb600, bIsMute=0 [2017-05-05 16:29:35.079][P:7920/T:8776][Inf][call][call_basic.c:15762 CallBasicSetVideoMute]3. ulCallID = 2078258688, bIsMute=0 [2017-05-05 16:29:35.079][P:7920/T:8776][Dbg][call][call_conf.c:5110 CallConfOnEndConfCall]CallConfOnEndConfCall ulConfID=0x0 [2017-05-05 16:29:35.079][P:7920/T:8776][Dbg][call][call_basic.c:11348 CallBasicGetConfID]CallBasicGetConfID(0x7bdfb600) [2017-05-05 16:29:35.079][P:7920/T:8776][Err][call][call_basic.c:11354 CallBasicGetConfID]Get Call ID(0x7bdfb600) Error=0x8002113 [2017-05-05 16:29:35.079][P:7920/T:8776][Err][call][call_conf.c:5123 CallConfOnEndConfCall]con't find ServerConf by ID=0xffffffff! [2017-05-05 16:29:35.079][P:7920/T:8776][Dbg][call][call_main.c:2128 callmainMsgProcModTsp]call process msg leave, msgId: 0x2904 [2017-05-05 16:29:35.079][P:7920/T:8776][Dbg][SipTptd][sstpthiglue.c:292 SipStackTptDToTptMsgProc]start process tpt to tptd msg: TPTD_SENDRESULT_SUCC [2017-05-05 16:29:35.079][P:7920/T:8776][Dbg][SipTptd][sstpthiglue.c:394 SipStackTptDToTptMsgProc]end process tpt to tptd msg: TPTD_SENDRESULT_SUCC