Print verbose_log() on stderr instead of stdout when _DEBUG is defined

This commit is contained in:
David Capello 2015-11-05 13:02:28 -03:00
parent e525fc10a6
commit 12d27031e8

View File

@ -68,8 +68,8 @@ void verbose_log(const char* format, ...)
fflush(app::log_fileptr);
#ifdef _DEBUG
vfprintf(stdout, format, ap);
fflush(stdout);
vfprintf(stderr, format, ap);
fflush(stderr);
#endif
va_end(ap);