Show errors when debug is enabled

This commit is contained in:
2019-08-21 14:40:03 +02:00
parent 81a901b386
commit 2b6a064913

View File

@ -95,7 +95,7 @@ void StreamError(int line, const char* file, const char* fmt, ...)
void StreamVError(int line, const char* file, const char* fmt, va_list args)
{
char timestamp[40];
if (!streamError) return; // Error logging disabled
if (!(streamError || streamDebug)) return; // Error logging disabled
StreamPrintTimestampFunction(timestamp, 40);
#ifdef va_copy
if (StreamDebugFile)