diff --git a/src/core/lib/support/env.h b/src/core/lib/support/env.h index 392fcb6e4c0..e1c3bdc66a3 100644 --- a/src/core/lib/support/env.h +++ b/src/core/lib/support/env.h @@ -36,6 +36,10 @@ char *gpr_getenv(const char *name); /* Sets the the environment with the specified name to the specified value. */ void gpr_setenv(const char *name, const char *value); +/* This is a version of gpr_getenv that does not produce any output if it has to + use an insecure version of the function. It is ONLY to be used to solve the + problem in which we need to check an env variable to configure the verbosity + level of logging. So DO NOT USE THIS. */ char *gpr_getenv_silent(const char *name, char** dst); #ifdef __cplusplus