summaryrefslogtreecommitdiff
path: root/src/debug/Log.hpp
diff options
context:
space:
mode:
authorthejch <66577496+thejch@users.noreply.github.com>2024-04-29 08:07:35 -0700
committerGitHub <noreply@github.com>2024-04-29 16:07:35 +0100
commita783cd8f40594b686bc40d52a2af95bedba7a8d5 (patch)
treee5740d406d61051375de53e17cef731f67f1c80e /src/debug/Log.hpp
parent33e0bb14786dc22a0c82eaaf097b469d3fdeceea (diff)
log: Add some colors to stdout log 🔴🟡🟢🔵🟣 (#5778)
* add colored log * add config option * make it dynamic
Diffstat (limited to 'src/debug/Log.hpp')
-rw-r--r--src/debug/Log.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/debug/Log.hpp b/src/debug/Log.hpp
index f1dd3eab..abf74065 100644
--- a/src/debug/Log.hpp
+++ b/src/debug/Log.hpp
@@ -27,6 +27,7 @@ namespace Debug {
inline bool disableStdout = false;
inline bool trace = false;
inline bool shuttingDown = false;
+ inline int64_t* const* coloredLogs = nullptr;
inline std::string rollingLog = ""; // rolling log contains the ROLLING_LOG_SIZE tail of the log