mirror of
https://github.com/monero-project/monero.git
synced 2024-12-18 00:04:20 -05:00
Merge pull request #6016
afcfb3b
easylogging++: windows does not need terminal colour support (moneromooo-monero)
This commit is contained in:
commit
be6c5afabb
2
external/easylogging++/easylogging++.cc
vendored
2
external/easylogging++/easylogging++.cc
vendored
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user