High-priority log events always go to console

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13587 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
curaga
2013-08-28 13:51:38 +00:00
parent 97232fe314
commit 3125886dac

View File

@@ -165,7 +165,7 @@ void Log::printMessage(int level, const char *component, const char *format,
}
// If we don't have a console file, write to stdout and hope for the best
if(!m_file_stdout ||
if(!m_file_stdout || level >= LL_WARN ||
UserConfigParams::m_log_errors_to_console) // log to console & file
{
VALIST out;