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