aboutsummaryrefslogtreecommitdiff
path: root/external/easylogging++/easylogging++.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-09-16 13:02:13 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-09-24 15:49:55 +0000
commit6d378d90fee4672a9f711a59905c60cfd72f63c1 (patch)
tree987934f17221eed9593c976f57c7b4d0feccd5ee /external/easylogging++/easylogging++.h
parentMerge pull request #5916 (diff)
downloadmonero-6d378d90fee4672a9f711a59905c60cfd72f63c1.tar.xz
easylogging++: always omit ANSI codes when colour is not supported
Diffstat (limited to 'external/easylogging++/easylogging++.h')
-rw-r--r--external/easylogging++/easylogging++.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/external/easylogging++/easylogging++.h b/external/easylogging++/easylogging++.h
index a10b0c8e6..398afd20a 100644
--- a/external/easylogging++/easylogging++.h
+++ b/external/easylogging++/easylogging++.h
@@ -2235,6 +2235,7 @@ class LogBuilder : base::NoCopy {
}
virtual base::type::string_t build(const LogMessage* logMessage, bool appendNewLine) const = 0;
void convertToColoredOutput(base::type::string_t* logLine, Level level, Color color);
+ void setColor(Color color, bool bright);
private:
bool m_termSupportsColor;
friend class el::base::DefaultLogDispatchCallback;