add this log for codec

This commit is contained in:
huili2
2014-12-10 22:15:32 -08:00
parent 5ff55a6ec2
commit 3e57fdc448
6 changed files with 13 additions and 5 deletions

View File

@@ -83,6 +83,10 @@ void welsCodecTrace::CodecTrace (const int32_t iLevel, const char* Str_Format, v
}
}
void welsCodecTrace::SetCodecInstance (void* pCodecInstance) {
m_sLogCtx.pCodecInstance = pCodecInstance;
}
void welsCodecTrace::SetTraceLevel (const int32_t iLevel) {
if (iLevel >= 0)
m_iTraceLevel = iLevel;