34 #ifndef GRPC_SUPPORT_LOG_H
35 #define GRPC_SUPPORT_LOG_H
66 #define GPR_DEBUG __FILE__, __LINE__, GPR_LOG_SEVERITY_DEBUG
67 #define GPR_INFO __FILE__, __LINE__, GPR_LOG_SEVERITY_INFO
68 #define GPR_ERROR __FILE__, __LINE__, GPR_LOG_SEVERITY_ERROR
73 const char *format, ...);
96 #define GPR_ASSERT(x) \
99 gpr_log(GPR_ERROR, "assertion failed: %s", #x); \
int line
Definition: log.h:83
gpr_log_severity
Definition: log.h:56
const char * gpr_log_severity_string(gpr_log_severity severity)
const char * message
Definition: log.h:85
const char * file
Definition: log.h:82
void(* gpr_log_func)(gpr_log_func_args *args)
Definition: log.h:88
void gpr_log(const char *file, int line, gpr_log_severity severity, const char *format,...)
void gpr_log_message(const char *file, int line, gpr_log_severity severity, const char *message)
void gpr_set_log_function(gpr_log_func func)
gpr_log_severity severity
Definition: log.h:84