Merge pull request #6016

afcfb3b easylogging++: windows does not need terminal colour support (moneromooo-monero)
This commit is contained in:
luigi1111 2019-10-24 18:41:38 -05:00
commit be6c5afabb
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010
1 changed files with 2 additions and 0 deletions

View File

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