From 49984b6b3dd48919e04c0be7fa0e336a1cf3e743 Mon Sep 17 00:00:00 2001 From: Roberto Rossini <71787608+robomics@users.noreply.github.com> Date: Sun, 6 Oct 2024 18:22:43 +0200 Subject: [PATCH] Remove debug code --- src/hictk/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hictk/main.cpp b/src/hictk/main.cpp index 550b8ff86..2edae5427 100644 --- a/src/hictk/main.cpp +++ b/src/hictk/main.cpp @@ -35,9 +35,9 @@ static void setup_logger_console() { spdlog::set_default_logger(main_logger); } -static void setup_logger_console([[maybe_unused]] int verbosity_lvl, bool print_version) { +static void setup_logger_console(int verbosity_lvl, bool print_version) { for (auto& sink : spdlog::default_logger()->sinks()) { - sink->set_level(spdlog::level::debug); + sink->set_level(spdlog::level::level_enum(verbosity_lvl)); } if (print_version) {