mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 14:46:12 -04:00
don't log message as private
PiperOrigin-RevId: 765410309
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user