Fix VLOG_IS_ON error

pull/37183/head
Esun Kim 5 months ago
parent bbb8ad25e2
commit d7fbbdf2ff
  1. 4
      src/core/util/log.cc

@ -53,10 +53,10 @@ int gpr_should_log(gpr_log_severity severity) {
// MinLogLevel is. We could have saved this in a static const variable.
// But decided against it just in case anyone programatically sets absl
// min log level settings after this has been initialized.
// Same holds for VLOG_IS_ON(2).
// Same holds for ABSL_VLOG_IS_ON(2).
return absl::MinLogLevel() <= absl::LogSeverityAtLeast::kInfo;
case GPR_LOG_SEVERITY_DEBUG:
return VLOG_IS_ON(2);
return ABSL_VLOG_IS_ON(2);
default:
DLOG(ERROR) << "Invalid gpr_log_severity.";
return true;

Loading…
Cancel
Save