*** empty log message ***

svn path=/trunk/boinc/; revision=10342
This commit is contained in:
Rom Walton 2006-06-14 16:20:11 +00:00
parent f2c4ab3851
commit 81d49e5a3e
1 changed files with 8 additions and 0 deletions

View File

@ -592,11 +592,19 @@ void boinc_trace(const char *pszFormat, ...) {
_CrtDbgReport(_CRT_WARN, NULL, NULL, NULL, "[%s %s] TRACE [%d]: %s", szDate, szTime, GetCurrentThreadId(), szBuffer);
#else
if (flags & BOINC_DIAG_TRACETOSTDERR) {
#ifdef _WIN32
fprintf(stderr, "[%s %s] TRACE [%d]: %s\n", szDate, szTime, GetCurrentThreadId(), szBuffer);
#else
fprintf(stderr, "[%s %s] TRACE: %s\n", szDate, szTime, szBuffer);
#endif
}
if (flags & BOINC_DIAG_TRACETOSTDOUT) {
#ifdef _WIN32
fprintf(stdout, "[%s %s] TRACE [%d]: %s\n", szDate, szTime, GetCurrentThreadId(), szBuffer);
#else
fprintf(stdout, "[%s %s] TRACE: %s\n", szDate, szTime, szBuffer);
#endif
}
#endif
}