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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user