easylogging++: windows does not need terminal colour support

This commit is contained in:
moneromooo-monero 2019-10-24 16:00:17 +00:00
parent 4233d88341
commit afcfb3b32f
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -684,7 +684,9 @@ void LogBuilder::convertToColoredOutput(base::type::string_t* logLine, Level lev
}
void LogBuilder::setColor(Color color, bool bright) {
#if !ELPP_OS_WINDOWS
if (m_termSupportsColor)
#endif
el::base::utils::setConsoleColor(color, bright);
}