From 7f9d9bf2417f04ac60918477c36b1e9d9829826b Mon Sep 17 00:00:00 2001 From: Brett Laptop Date: Mon, 14 Aug 2023 22:48:52 -0400 Subject: [PATCH] fix issue with blt:logging using non-namespaced log function in macro expansion --- include/blt/std/logging.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/blt/std/logging.h b/include/blt/std/logging.h index f3d1b9c..884c825 100755 --- a/include/blt/std/logging.h +++ b/include/blt/std/logging.h @@ -649,7 +649,7 @@ namespace blt::logging { #define BLT_ERROR(format, ...) #define BLT_FATAL(format, ...) #else - #define BLT_LOG(format, level, ...) log(format, level, __FILE__, __LINE__, ##__VA_ARGS__) + #define BLT_LOG(format, level, ...) blt::logging::log(format, level, __FILE__, __LINE__, ##__VA_ARGS__) #define BLT_LOG_STREAM(level) blt::logging::logger{level, __FILE__, __LINE__} #ifdef BLT_DISABLE_TRACE #define BLT_TRACE(format, ...)