macos: send logs to unified logging

This commit is contained in:
Mitchell Hashimoto
2022-10-31 15:15:32 -07:00
parent 7608d7921f
commit 9e3bbc1598
3 changed files with 60 additions and 9 deletions

View File

@@ -6,5 +6,5 @@ void zig_os_log_with_type(
os_log_type_t type,
const char *message
) {
os_log_with_type(log, type, "%s", message);
os_log_with_type(log, type, "%{public}s", message);
}