aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-10-24 18:41:38 -0500
committerluigi1111 <luigi1111w@gmail.com>2019-10-24 18:41:38 -0500
commitbe6c5afabb3d5146a46f74ae9fa44f520f380e8b (patch)
treeef87b61000a05c396eed4480f3b0f1bad692fa88
parentMerge pull request #6015 (diff)
parenteasylogging++: windows does not need terminal colour support (diff)
downloadmonero-be6c5afabb3d5146a46f74ae9fa44f520f380e8b.tar.xz
Merge pull request #6016
afcfb3b easylogging++: windows does not need terminal colour support (moneromooo-monero)
Diffstat (limited to '')
-rw-r--r--external/easylogging++/easylogging++.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/external/easylogging++/easylogging++.cc b/external/easylogging++/easylogging++.cc
index 0f83e1de2..5c756bcdf 100644
--- a/external/easylogging++/easylogging++.cc
+++ b/external/easylogging++/easylogging++.cc
@@ -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);
}