diff options
| author | thejch <66577496+thejch@users.noreply.github.com> | 2024-04-29 08:07:35 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-29 16:07:35 +0100 |
| commit | a783cd8f40594b686bc40d52a2af95bedba7a8d5 (patch) | |
| tree | e5740d406d61051375de53e17cef731f67f1c80e /src/debug/Log.hpp | |
| parent | 33e0bb14786dc22a0c82eaaf097b469d3fdeceea (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.hpp | 1 |
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 |
