34 #ifndef GRPC_IMPL_CODEGEN_LOG_H
35 #define GRPC_IMPL_CODEGEN_LOG_H
68 #define GPR_DEBUG __FILE__, __LINE__, GPR_LOG_SEVERITY_DEBUG
69 #define GPR_INFO __FILE__, __LINE__, GPR_LOG_SEVERITY_INFO
70 #define GPR_ERROR __FILE__, __LINE__, GPR_LOG_SEVERITY_ERROR
75 const char *format, ...);
98 #define GPR_ASSERT(x) \
101 gpr_log(GPR_ERROR, "assertion failed: %s", #x); \
int line
Definition: log.h:85
const char * gpr_log_severity_string(gpr_log_severity severity)
GPRAPI void gpr_log(const char *file, int line, gpr_log_severity severity, const char *format,...)
GPRAPI void gpr_set_log_function(gpr_log_func func)
const char * message
Definition: log.h:87
const char * file
Definition: log.h:84
gpr_log_severity
Definition: log.h:58
gpr_log_severity severity
Definition: log.h:86
void(* gpr_log_func)(gpr_log_func_args *args)
Definition: log.h:90
GPRAPI void gpr_log_message(const char *file, int line, gpr_log_severity severity, const char *message)