1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#include <os/log.h>
os_log_t wrapped_get_default_log() {
return OS_LOG_DEFAULT;
}
void wrapped_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);
}
void wrapped_os_log_debug(os_log_t log, const char* message) {
os_log_debug(log, "%{public}s", message);
}
void wrapped_os_log_info(os_log_t log, const char* message) {
os_log_info(log, "%{public}s", message);
}
void wrapped_os_log_default(os_log_t log, const char* message) {
os_log(log, "%{public}s", message);
}
void wrapped_os_log_error(os_log_t log, const char* message) {
os_log_error(log, "%{public}s", message);
}
void wrapped_os_log_fault(os_log_t log, const char* message) {
os_log_fault(log, "%{public}s", message);
}
|