19 #ifndef GRPC_CORE_LIB_SURFACE_API_TRACE_H 20 #define GRPC_CORE_LIB_SURFACE_API_TRACE_H 31 #define GRPC_API_TRACE_UNWRAP0() 32 #define GRPC_API_TRACE_UNWRAP1(a) , a 33 #define GRPC_API_TRACE_UNWRAP2(a, b) , a, b 34 #define GRPC_API_TRACE_UNWRAP3(a, b, c) , a, b, c 35 #define GRPC_API_TRACE_UNWRAP4(a, b, c, d) , a, b, c, d 36 #define GRPC_API_TRACE_UNWRAP5(a, b, c, d, e) , a, b, c, d, e 37 #define GRPC_API_TRACE_UNWRAP6(a, b, c, d, e, f) , a, b, c, d, e, f 38 #define GRPC_API_TRACE_UNWRAP7(a, b, c, d, e, f, g) , a, b, c, d, e, f, g 39 #define GRPC_API_TRACE_UNWRAP8(a, b, c, d, e, f, g, h) , a, b, c, d, e, f, g, h 40 #define GRPC_API_TRACE_UNWRAP9(a, b, c, d, e, f, g, h, i) \ 41 , a, b, c, d, e, f, g, h, i 42 #define GRPC_API_TRACE_UNWRAP10(a, b, c, d, e, f, g, h, i, j) \ 43 , a, b, c, d, e, f, g, h, i, j 47 #define GRPC_API_TRACE(fmt, nargs, args) \ 48 if (GRPC_TRACE_FLAG_ENABLED(grpc_api_trace)) { \ 49 gpr_log(GPR_INFO, fmt GRPC_API_TRACE_UNWRAP##nargs args); \
grpc_core::TraceFlag grpc_api_trace