From c0092c4c8433c112bacc2a8a3a7b96c7fbb0498d Mon Sep 17 00:00:00 2001 From: jaelrod <64549955+jaelrod@users.noreply.github.com> Date: Wed, 16 Aug 2023 18:31:53 -0400 Subject: [PATCH] fixing an apparent logging macro bug (#2265) --- sdk/include/opentelemetry/sdk/common/global_log_handler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/include/opentelemetry/sdk/common/global_log_handler.h b/sdk/include/opentelemetry/sdk/common/global_log_handler.h index 74dd90ccc6..a36bd4a8a3 100644 --- a/sdk/include/opentelemetry/sdk/common/global_log_handler.h +++ b/sdk/include/opentelemetry/sdk/common/global_log_handler.h @@ -186,7 +186,7 @@ OPENTELEMETRY_END_NAMESPACE OTEL_INTERNAL_LOG_WARN_1_ARGS) # define OTEL_INTERNAL_LOG_WARN(...) OTEL_INTERNAL_LOG_WARN_MACRO(__VA_ARGS__)(__VA_ARGS__) #else -# define OTEL_INTERNAL_LOG_ERROR(...) +# define OTEL_INTERNAL_LOG_WARN(...) #endif #if OTEL_INTERNAL_LOG_LEVEL >= OTEL_INTERNAL_LOG_LEVEL_DEBUG