aboutsummaryrefslogtreecommitdiff
path: root/external/easylogging++/easylogging++.cc
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-10-24 16:00:17 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-10-24 16:00:45 +0000
commitafcfb3b32ff7ca3964f070f3c455a1081a943ff9 (patch)
tree328798b4a036a02840b6c67680dbe5ceb5085bda /external/easylogging++/easylogging++.cc
parentMerge pull request #5973 (diff)
downloadmonero-afcfb3b32ff7ca3964f070f3c455a1081a943ff9.tar.xz
easylogging++: windows does not need terminal colour support
Diffstat (limited to 'external/easylogging++/easylogging++.cc')
-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);
}