I am not having any success with using
os_log
in my KEXT. I've tried with both the OS_LOG_DEFAULT
log and creating a specific log with os_log_create
. Regardless of the code I try, I cannot see the KEXT log messages in Console.app. Same with using the command line log stream --level debug --predicate 'subsystem == "com.example.subsystem"'
(and without subsystem filtering). Am I missing something here?