From 696db97f672e9082e50e50af315d0f4234c82397 Mon Sep 17 00:00:00 2001 From: Enzo Gaban Date: Tue, 16 Jan 2024 01:39:45 -0300 Subject: [PATCH] docs: details about how compile time macros work (#2981) --- 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"); }