1 2 3 4 5 6 7 8 9 10 11
#include <os/log.h> #include <os/signpost.h> // A wrapper so we can use the os_log_with_type macro. void zig_os_log_with_type( os_log_t log, os_log_type_t type, const char *message ) { os_log_with_type(log, type, "%{public}s", message); }