Go to the documentation of this file.
19 #ifndef GRPC_SUPPORT_LOG_H
20 #define GRPC_SUPPORT_LOG_H
45 #define GPR_DEBUG __FILE__, __LINE__, GPR_LOG_SEVERITY_DEBUG
46 #define GPR_INFO __FILE__, __LINE__, GPR_LOG_SEVERITY_INFO
47 #define GPR_ERROR __FILE__, __LINE__, GPR_LOG_SEVERITY_ERROR
@ GPR_LOG_SEVERITY_DEBUG
Definition: log.h:39
GPRAPI void gpr_set_log_verbosity(gpr_log_severity deprecated_setting)
Set global log verbosity.
Log overrides: applications can use this API to intercept logging calls and use their own implementat...
Definition: log.h:67
@ GPR_LOG_SEVERITY_INFO
Definition: log.h:40
const char * file
Definition: log.h:68
void(* gpr_log_func)(gpr_log_func_args *args)
Definition: log.h:76
GPRAPI void gpr_log_message(const char *file, int line, gpr_log_severity severity, const char *message)
GPRAPI void gpr_set_log_function(gpr_log_func deprecated_setting)
@ GPR_LOG_SEVERITY_ERROR
Definition: log.h:41
GPRAPI void gpr_log_verbosity_init(void)
int line
Definition: log.h:69
const char * message
Definition: log.h:71
gpr_log_severity
Logging functions in this file are deprecated.
Definition: log.h:38
GPRAPI void gpr_log(const char *file, int line, gpr_log_severity severity, const char *format,...) GPR_PRINT_FORMAT_CHECK(4
Log a message.
GPRAPI void GPRAPI int gpr_should_log(gpr_log_severity severity)
gpr_log_severity severity
Definition: log.h:70