GRPC C++
1.39.1
|
#include <grpc/support/port_platform.h>
#include <grpc/support/alloc.h>
#include <grpc/support/atm.h>
#include <grpc/support/log.h>
#include "src/core/lib/gpr/string.h"
#include "src/core/lib/gprpp/global_config.h"
#include <stdio.h>
Macros | |
#define | GPR_DEFAULT_LOG_VERBOSITY_STRING "ERROR" |
Functions | |
GPR_GLOBAL_CONFIG_DEFINE_STRING (grpc_verbosity, "ERROR", "Default gRPC logging verbosity") GPR_GLOBAL_CONFIG_DEFINE_STRING(grpc_stacktrace_minloglevel | |
void | gpr_default_log (gpr_log_func_args *args) |
const char * | gpr_log_severity_string (gpr_log_severity severity) |
Returns a string representation of the log severity. More... | |
int | gpr_should_log (gpr_log_severity severity) |
int | gpr_should_log_stacktrace (gpr_log_severity severity) |
void | gpr_log_message (const char *file, int line, gpr_log_severity severity, const char *message) |
void | gpr_set_log_verbosity (gpr_log_severity min_severity_to_print) |
Set global log verbosity. More... | |
void | gpr_log_verbosity_init () |
void | gpr_set_log_function (gpr_log_func f) |
#define GPR_DEFAULT_LOG_VERBOSITY_STRING "ERROR" |
void gpr_default_log | ( | gpr_log_func_args * | args | ) |
GPR_GLOBAL_CONFIG_DEFINE_STRING | ( | grpc_verbosity | , |
"ERROR" | , | ||
"Default gRPC logging verbosity" | |||
) |
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 | ) |
Returns a string representation of the log severity.
void gpr_log_verbosity_init | ( | void | ) |
void gpr_set_log_function | ( | gpr_log_func | f | ) |
void gpr_set_log_verbosity | ( | gpr_log_severity | min_severity_to_print | ) |
Set global log verbosity.
int gpr_should_log | ( | gpr_log_severity | severity | ) |
int gpr_should_log_stacktrace | ( | gpr_log_severity | severity | ) |