int recordStatus(LPCTSTR sFormat, ...) { if ((m_bUseLog) &&(iLogLevel <= m_iLogLevel)) { va_list argptr; int retval; va_start(argptr, sFormat); _ASSERTE(sFormat != NULL); retval = vfprintf(m_sSourceFile, sFormat, argptr); sSourceFile.Flush(); va_end(argptr); return (retval); } }