| Return Type | Function name | Arguments |
|---|---|---|
| void | SetThreadLogger | (hzLogger*,) |
Declared in file: hzProcess.h
Defined in file : hzProcess.cpp
Function Logic:
Function body:
void SetThreadLogger (hzLogger* pLog)
{
hzProcess* phz ;
phz = GetThreadInfo() ;
if (!phz)
Fatal("SetThreadLogger. Thread %u not registered\n", pthread_self()) ;
if (!phz->GetLog())
phz->SetLog(pLog) ;
if (!s_pDfltLog)
s_pDfltLog = pLog ;
}