From 87e6d5351e7bd43f669302ab55e459c7800394b8 Mon Sep 17 00:00:00 2001 From: Itamar Date: Sat, 26 Jun 2021 14:36:10 +0300 Subject: [PATCH] AK: Don't colorize the 'extra' field of ScopeLogger in dbgln() It's easier to spot it in the debug logs this way :) --- AK/ScopeLogger.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AK/ScopeLogger.h b/AK/ScopeLogger.h index a6403e0bcd..a54af87c32 100644 --- a/AK/ScopeLogger.h +++ b/AK/ScopeLogger.h @@ -26,7 +26,7 @@ public: if (m_extra.is_empty()) dbgln("\033[1;{}m{}entering {}\033[0m", m_depth % 8 + 30, sb.to_string(), m_location); else - dbgln("\033[1;{}m{}entering {} ({})\033[0m", m_depth % 8 + 30, sb.to_string(), m_location, m_extra); + dbgln("\033[1;{}m{}entering {}\033[0m ({})", m_depth % 8 + 30, sb.to_string(), m_location, m_extra); } ScopeLogger(SourceLocation location = SourceLocation::current()) @@ -44,7 +44,7 @@ public: if (m_extra.is_empty()) dbgln("\033[1;{}m{}leaving {}\033[0m", depth % 8 + 30, sb.to_string(), m_location); else - dbgln("\033[1;{}m{}leaving {} ({})\033[0m", depth % 8 + 30, sb.to_string(), m_location, m_extra); + dbgln("\033[1;{}m{}leaving {}\033[0m ({})", depth % 8 + 30, sb.to_string(), m_location, m_extra); } private: