Set the hzLogger pointer for the current thread. Returns: None

Return TypeFunction nameArguments
voidSetThreadLogger(hzLogger*,)

Declared in file: hzProcess.h
Defined in file : hzProcess.cpp

Function Logic:

0:START 1:phz 2:unknown 3:items 4:unknown 5:items 6:unknown 7:s_pDfltLog 8: No text

Function body:

void SetThreadLogger (hzLogger* pLog)
{
   //  Category: Diagnostics
   //  
   //  Set the hzLogger pointer for the current thread.
   //  
   //  Arguments: 1) pLog Pointer to the hzLogger instance declared for the main process or a separately created thread.
   //  Returns: None
   hzProcess*  phz ;       //  Current thread
   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 ;
}