33 NS_tsnprintf(logFile,
sizeof(logFile)/
sizeof(logFile[0]),
34 NS_T(
"%s/%s"), sourcePathParam, fileName);
36 if (alternateFileName &&
NS_taccess(logFile, F_OK))
38 NS_tsnprintf(logFile,
sizeof(logFile)/
sizeof(logFile[0]),
39 NS_T(
"%s/%s"), sourcePathParam, alternateFileName);
69 vfprintf(
logFP, fmt, ap);
81 fprintf(
logFP,
"*** Warning: ");
82 vfprintf(
logFP, fmt, ap);
83 fprintf(
logFP,
"***\n");
void Init(NS_tchar *sourcePath, const NS_tchar *fileName, const NS_tchar *alternateFileName, bool append)
void Printf(const char *fmt,...)
void WarnPrintf(const char *fmt,...)