From d55afd5d622e1817d0e1d68f3abac7e88b9ba22c Mon Sep 17 00:00:00 2001 From: Enzo Gaban Date: Mon, 15 Jan 2024 20:24:30 -0300 Subject: [PATCH] docs: details about how compile time macros work --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 739a7317..ffb6da30 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,8 @@ int main() spdlog::set_pattern("[%H:%M:%S %z] [%n] [%^---%L---%$] [thread %t] %v"); // Compile time log levels - // define SPDLOG_ACTIVE_LEVEL to desired level + // Note that this does not change the current log level, it will only + // remove (depending on SPDLOG_ACTIVE_LEVEL) the call on the release code. SPDLOG_TRACE("Some trace message with param {}", 42); SPDLOG_DEBUG("Some debug message"); }