log: Add some colors to stdout log 🔴🟡🟢🔵🟣 (#5778)
* add colored log * add config option * make it dynamic
This commit is contained in:
parent
33e0bb1478
commit
a783cd8f40
3 changed files with 32 additions and 9 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue