From 8a6b5b9e6263e1b74e1a48624b730f3ee8245cf7 Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Wed, 1 Dec 2021 03:32:08 +0200 Subject: [PATCH] Update README.md --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 0b5bbcdc..9b797b79 100644 --- a/README.md +++ b/README.md @@ -398,10 +398,8 @@ void replace_default_logger_example() { auto new_logger = spdlog::basic_logger_mt("new_default_logger", "logs/new-default-log.txt", true); spdlog::set_default_logger(new_logger); - spdlog::set_level(spdlog::level::info); - spdlog::debug("This message should not be displayed!"); spdlog::set_level(spdlog::level::trace); - spdlog::debug("This message should be displayed.."); + spdlog::trace("This message should be displayed.."); } ```