mirror of
https://github.com/wownero/wownero.git
synced 2026-10-17 15:41:44 +02:00
easylogging++: windows does not need terminal colour support
This commit is contained in:
+2
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user