From a783cd8f40594b686bc40d52a2af95bedba7a8d5 Mon Sep 17 00:00:00 2001 From: thejch <66577496+thejch@users.noreply.github.com> Date: Mon, 29 Apr 2024 08:07:35 -0700 Subject: =?UTF-8?q?log:=20Add=20some=20colors=20to=20stdout=20log=20?= =?UTF-8?q?=F0=9F=94=B4=F0=9F=9F=A1=F0=9F=9F=A2=F0=9F=94=B5=F0=9F=9F=A3=20?= =?UTF-8?q?(#5778)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * add colored log * add config option * make it dynamic --- src/debug/Log.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/debug/Log.hpp') 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 -- cgit v1.2.3