GRPC Core
0.10.0.0
|
#include <stdlib.h>
#include <stdarg.h>
Go to the source code of this file.
Data Structures | |
struct | gpr_log_func_args |
Macros | |
#define | GPR_DEBUG __FILE__, __LINE__, GPR_LOG_SEVERITY_DEBUG |
#define | GPR_INFO __FILE__, __LINE__, GPR_LOG_SEVERITY_INFO |
#define | GPR_ERROR __FILE__, __LINE__, GPR_LOG_SEVERITY_ERROR |
#define | GPR_ASSERT(x) |
Typedefs | |
typedef enum gpr_log_severity | gpr_log_severity |
typedef void(* | gpr_log_func )(gpr_log_func_args *args) |
Enumerations | |
enum | gpr_log_severity { GPR_LOG_SEVERITY_DEBUG, GPR_LOG_SEVERITY_INFO, GPR_LOG_SEVERITY_ERROR } |
Functions | |
const char * | gpr_log_severity_string (gpr_log_severity severity) |
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) |
#define GPR_ASSERT | ( | x | ) |
#define GPR_DEBUG __FILE__, __LINE__, GPR_LOG_SEVERITY_DEBUG |
#define GPR_ERROR __FILE__, __LINE__, GPR_LOG_SEVERITY_ERROR |
#define GPR_INFO __FILE__, __LINE__, GPR_LOG_SEVERITY_INFO |
typedef void(* gpr_log_func)(gpr_log_func_args *args) |
typedef enum gpr_log_severity gpr_log_severity |
enum gpr_log_severity |
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 | ||
) |
const char* gpr_log_severity_string | ( | gpr_log_severity | severity | ) |
void gpr_set_log_function | ( | gpr_log_func | func | ) |