Skip to content

Commit 2f96505

Browse files
committed
iOS public logging
Resolves #400
1 parent 4a0ea16 commit 2f96505

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kermit-core/src/nativeInterop/cInterop/os_log.def

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ darwin_os_log_t darwin_log_create(const char *subsystem, const char *category) {
1717
}
1818

1919
void darwin_log_with_type(darwin_os_log_t log, os_log_type_t type, const char *msg) {
20-
os_log_with_type((os_log_t)log, type, "%s", msg);
20+
os_log_with_type((os_log_t)log, type, "%{public}s", msg);
2121
}

0 commit comments

Comments
 (0)