mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-22 23:42:24 +00:00
easylogging++: windows does not need terminal colour support
This commit is contained in:
parent
4233d88341
commit
afcfb3b32f
1 changed files with 2 additions and 0 deletions
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 a new issue