History

modify trace output

ruil2 committed 12 years ago

Commit ef7cce31 parent b9058e41 file · +2 −5Browse files

Showing the changes to codec/common/src/utils.cpp (1 of 1 file). Show all

Unified · Split

codec/common/src/utils.cpp+2−5
@@ -68,12 +68,9 @@ void WelsLog (SLogContext* logCtx, int32_t iLevel, const char* kpFmt, ...) { · 67 unmodified lines
6868 WelsSnprintf (pTraceTag, MAX_LOG_SIZE, "[OpenH264] Detail:");
6969 break;
7070 }
71− va_start (vl, pTraceTag);
72− logCtx->pfLog (logCtx->pLogCtx, iLevel, pTraceTag, vl);
73− va_end (vl);
74−
71+ WelsStrcat(pTraceTag,MAX_LOG_SIZE,kpFmt);
7572 va_start (vl, kpFmt);
76− logCtx->pfLog (logCtx->pLogCtx, iLevel, kpFmt, vl);
73+ logCtx->pfLog (logCtx->pLogCtx, iLevel, pTraceTag, vl);
7774 va_end (vl);
7875 }
7976

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t