Updated print and os_log calls to modern OSLog class.
Replaced all print and os_log calls with OSLog class calls: https://developer.apple.com/documentation/os/oslog
This is to address Should use os_log instead of print function #112: https://github.com/jamf/PPPC-Utility/issues/112
There are a few SwiftLint warnings. If you install SwiftLint locally, the warnings should show up in Xcode.
There are a few SwiftLint warnings. If you install SwiftLint locally, the warnings should show up in Xcode.
Xcode has a setting that will help. Using the Xcode > Settings menu command, under the Text Editing tab, then the Editing tab, turn on the "Automatically trim trailing whitespace" and "Including whitespace-only lines" checkboxes.
There are a few SwiftLint warnings. If you install SwiftLint locally, the warnings should show up in Xcode.
Just one more SwiftLint issue to resolve.
Everything looking good! One last thing is to update the CHANGELOG.md about the logging. After that we can get this merged in.