Changed Logger to print all status messages to std::cerr and not just errors.
This commit is contained in:
parent
eff3b45089
commit
83737755fc
@ -118,12 +118,7 @@ void Logger::log(Priority priority, const char *message)
|
||||
if (priorityID < static_cast<int>(m_outputPriority))
|
||||
return;
|
||||
|
||||
auto &stream =
|
||||
(priorityID > static_cast<int>(Priority::Warning))
|
||||
? m_errorStream
|
||||
: m_outputStream;
|
||||
|
||||
stream
|
||||
m_outputStream
|
||||
<< priorityFormat(priority) << priorityName(priority) << ":"
|
||||
<< ResetFormat() << " "
|
||||
<< MessageBodyFormat << message
|
||||
|
Loading…
Reference in New Issue
Block a user