connectivity/com.nokia.tcf/native/TCFNative/TCFServer/BaseCom.h
changeset 458 70467d598794
parent 366 b054461d2f85
child 1481 c7f22cc57d44
equal deleted inserted replaced
457:02e387d99c91 458:70467d598794
    46 #define COMMLOGA3(s, a1, a2, a3)
    46 #define COMMLOGA3(s, a1, a2, a3)
    47 #define COMMLOGA4(s, a1, a2, a3, a4)
    47 #define COMMLOGA4(s, a1, a2, a3, a4)
    48 #define COMMLOGCLOSE()
    48 #define COMMLOGCLOSE()
    49 #endif
    49 #endif
    50 
    50 
    51 //#define LOG_PROCCOMM
    51 #define LOG_PROCCOMM
    52 #if defined(LOG_PROCCOMM) && defined(_DEBUG)
    52 #if defined(LOG_PROCCOMM) && defined(_DEBUG)
    53 #define PROCLOGOPEN() if (gDoLogging) { m_ProcDebugLog->WaitForAccess(); }
    53 #define PROCLOGOPEN() if (gDoLogging) { m_ProcDebugLog->WaitForAccess(); }
    54 #define PROCLOGS(s) if (gDoLogging) { sprintf(m_ProcDebugLogMsg,"%s", s); m_ProcDebugLog->log(m_ProcDebugLogMsg); }
    54 #define PROCLOGS(s) if (gDoLogging) { sprintf(m_ProcDebugLogMsg,"%s", s); m_ProcDebugLog->log(m_ProcDebugLogMsg); }
    55 #define PROCLOGA1(s, a1) if (gDoLogging) { sprintf(m_ProcDebugLogMsg, s, a1); m_ProcDebugLog->log(m_ProcDebugLogMsg); }
    55 #define PROCLOGA1(s, a1) if (gDoLogging) { sprintf(m_ProcDebugLogMsg, s, a1); m_ProcDebugLog->log(m_ProcDebugLogMsg); }
    56 #define PROCLOGA2(s, a1, a2) if (gDoLogging) { sprintf(m_ProcDebugLogMsg, s, a1, a2); m_ProcDebugLog->log(m_ProcDebugLogMsg); }
    56 #define PROCLOGA2(s, a1, a2) if (gDoLogging) { sprintf(m_ProcDebugLogMsg, s, a1, a2); m_ProcDebugLog->log(m_ProcDebugLogMsg); }