diff --git a/src/core/lib/event_engine/ares_resolver.h b/src/core/lib/event_engine/ares_resolver.h index 0182d0bef4e7d..68812e59a4cfa 100644 --- a/src/core/lib/event_engine/ares_resolver.h +++ b/src/core/lib/event_engine/ares_resolver.h @@ -47,11 +47,12 @@ namespace grpc_event_engine { namespace experimental { -#define GRPC_ARES_RESOLVER_TRACE_LOG(format, ...) \ - do { \ - if (GRPC_TRACE_FLAG_ENABLED(cares_resolver)) { \ - gpr_log(GPR_INFO, "(EventEngine c-ares resolver) " format, __VA_ARGS__); \ - } \ +#define GRPC_ARES_RESOLVER_TRACE_LOG(format, ...) \ + do { \ + if (GRPC_TRACE_FLAG_ENABLED(cares_resolver)) { \ + LOG(INFO) << "(EventEngine c-ares resolver) " \ + << absl::StrFormat(format, __VA_ARGS__); \ + } \ } while (0) class AresResolver : public RefCountedDNSResolverInterface {