From a73f6d50d39d72f5e41f0e3f3814c9495c85be68 Mon Sep 17 00:00:00 2001 From: Tixx <83774803+WiserTixx@users.noreply.github.com> Date: Fri, 4 Oct 2024 23:19:26 +0200 Subject: [PATCH] Fix debug log --- src/Logger.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Logger.cpp b/src/Logger.cpp index 71623189..860ed46d 100644 --- a/src/Logger.cpp +++ b/src/Logger.cpp @@ -55,10 +55,8 @@ void info(const std::string& toPrint) { addToLog(Print); } void debug(const std::string& toPrint) { - if (!options.verbose) - return; std::string Print = getDate() + "[DEBUG] " + toPrint + "\n"; - if (Dev) { + if (options.verbose) { std::cout << Print; } addToLog(Print);