don't log message as private

PiperOrigin-RevId: 765410309
This commit is contained in:
Guogang Li
2025-05-30 18:26:50 -07:00
committed by Copybara-Service
parent bbc56c10ec
commit 67beb46d45
@@ -50,7 +50,7 @@ void OsLogSink::Send(const absl::LogEntry& entry) {
std::string message = absl::StrCat("[", entry.source_basename(), ":", entry.source_line(), "] ",
entry.text_message());
os_log_with_type(log_, type, "%s", message.c_str());
os_log_with_type(log_, type, "%{public}s", message.c_str());
}
} // namespace apple