GRPC Core
1.0.0
|
#include <inttypes.h>
#include <stdarg.h>
#include <stdlib.h>
#include <grpc/impl/codegen/port_platform.h>
Go to the source code of this file.
Data Structures | |
struct | gpr_log_func_args |
Macros | |
#define | GPR_LOG_VERBOSITY_UNSET -1 |
#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) |
GPRAPI void | gpr_log (const char *file, int line, gpr_log_severity severity, const char *format,...) GPRC_PRINT_FORMAT_CHECK(4 |
GPRAPI void GPRAPI void | gpr_log_message (const char *file, int line, gpr_log_severity severity, const char *message) |
GPRAPI void | gpr_set_log_verbosity (gpr_log_severity min_severity_to_print) |
GPRAPI void | gpr_log_verbosity_init () |
GPRAPI 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 |
#define GPR_LOG_VERBOSITY_UNSET -1 |
typedef void(* gpr_log_func) (gpr_log_func_args *args) |
typedef enum gpr_log_severity gpr_log_severity |
enum gpr_log_severity |
GPRAPI void gpr_log | ( | const char * | file, |
int | line, | ||
gpr_log_severity | severity, | ||
const char * | format, | ||
... | |||
) |
GPRAPI void GPRAPI 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 | ) |
GPRAPI void gpr_log_verbosity_init | ( | ) |
GPRAPI void gpr_set_log_function | ( | gpr_log_func | func | ) |
GPRAPI void gpr_set_log_verbosity | ( | gpr_log_severity | min_severity_to_print | ) |