diff --git a/src/developer/debug/shared/logging/logging.cc b/src/developer/debug/shared/logging/logging.cc index 3b601f54eae..a3bf8cb8a86 100644 --- a/src/developer/debug/shared/logging/logging.cc +++ b/src/developer/debug/shared/logging/logging.cc @@ -36,7 +36,7 @@ LogStatement::~LogStatement() { } if (log_enable_syslog) { auto severity = ConvertSeverity(severity_); - if (fuchsia_logging::ShouldCreateLogMessage(severity)) { + if (fuchsia_logging::IsSeverityEnabled(severity)) { fuchsia_logging::LogMessage(severity, location_.file(), static_cast(location_.line()), nullptr, nullptr) .stream()