diff options
author | Ara Ayvazyan <Aivazyan@microsoft.com> | 2018-04-04 17:37:40 -0700 |
---|---|---|
committer | Ara Ayvazyan <Aivazyan@microsoft.com> | 2018-04-04 17:37:40 -0700 |
commit | e7995f213c90ec4e0b1159cb630d6ca9761ee35a (patch) | |
tree | bd0dca4d4fa870d8fb30564cfb6c2667253dca71 /include/grpc/support | |
parent | 586704b980b0eac843488386de4b8adf170bc94e (diff) |
Avoid low severity log message construction
Diffstat (limited to 'include/grpc/support')
-rw-r--r-- | include/grpc/support/log.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/grpc/support/log.h b/include/grpc/support/log.h index 2236703db3..7521453b80 100644 --- a/include/grpc/support/log.h +++ b/include/grpc/support/log.h @@ -61,6 +61,8 @@ GPRAPI 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, ...) GPR_PRINT_FORMAT_CHECK(4, 5); +GPRAPI int gpr_should_log(gpr_log_severity severity); + GPRAPI void gpr_log_message(const char* file, int line, gpr_log_severity severity, const char* message); |