PPPC-Utility icon indicating copy to clipboard operation
PPPC-Utility copied to clipboard

Should use os_log instead of print function

Open macblazer opened this issue 3 years ago • 1 comments

All calls to print should be converted to call os_log instead so that messages from the app will be visible in the system log (and visible in Console.app) from the compiled app instead of only being visible in the Xcode debugger when building from source.

Currently there are 31 uses of the print function in the code.

macblazer avatar May 03 '22 15:05 macblazer

Working on this. Because PPPC Utility does not support iOS it looks like using the newer OSLog class adds more capabilities than os_log: https://developer.apple.com/documentation/os/oslog

SkylerGodfrey avatar Oct 21 '24 13:10 SkylerGodfrey

This is done now.

watkyn avatar Oct 30 '24 18:10 watkyn