34 #ifndef GRPC_IMPL_CODEGEN_LOG_H 35 #define GRPC_IMPL_CODEGEN_LOG_H 65 #define GPR_LOG_VERBOSITY_UNSET -1 71 #define GPR_DEBUG __FILE__, __LINE__, GPR_LOG_SEVERITY_DEBUG 72 #define GPR_INFO __FILE__, __LINE__, GPR_LOG_SEVERITY_INFO 73 #define GPR_ERROR __FILE__, __LINE__, GPR_LOG_SEVERITY_ERROR 77 GPRAPI void gpr_log(
const char *file,
int line, gpr_log_severity severity,
81 gpr_log_severity severity, const
char *message);
106 #define GPR_ASSERT(x) \ 109 gpr_log(GPR_ERROR, "assertion failed: %s", #x); \
int line
Definition: log.h:93
GPRAPI void gpr_log_verbosity_init()
GPRAPI void gpr_set_log_verbosity(gpr_log_severity min_severity_to_print)
GPRAPI void gpr_log(const char *file, int line, gpr_log_severity severity, const char *format,...) GPRC_PRINT_FORMAT_CHECK(4
const char * gpr_log_severity_string(gpr_log_severity severity)
GPRAPI void gpr_set_log_function(gpr_log_func func)
const char * message
Definition: log.h:95
const char * file
Definition: log.h:92
void(* gpr_log_func)(gpr_log_func_args *args)
Definition: log.h:98
gpr_log_severity
Definition: log.h:59
gpr_log_severity severity
Definition: log.h:94
GPRAPI void GPRAPI void gpr_log_message(const char *file, int line, gpr_log_severity severity, const char *message)