Whenever i run the cocoa app exe, I should be able to enable the log level (info, debug, error, fault) using mac terminal.
if i enable log level as debug, only debug logs should appear in terminal at runtime.
i used the below command to enable the log level as "debug" in subsytem plist file.
"sudo log config --mode "level:debug" --subsystem com.companyName.ProjectName"
but its not enabling the log level, please let me know the steps to achieve this.
I’m confused as to what your goal is here. You can see debug log messages by adding
--level debug to your
log stream command. Beyond that, what do you need?
Share and Enjoy
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"