I noticed there is logging API in this session which doesn't seem to be public right now:
OSLog has no log method (https://developer.apple.com/documentation/oslog) and log isn't part of the current SwiftLog API. (https://github.com/apple/swift-log)
Is there another new API I missed or is this going to be coming in a future version?
Code Block logger.log("\(offerID, align: .left(columns: 10), privacy: .public)")
OSLog has no log method (https://developer.apple.com/documentation/oslog) and log isn't part of the current SwiftLog API. (https://github.com/apple/swift-log)
Is there another new API I missed or is this going to be coming in a future version?
Ok, I realized that the documentation seems to be split between a few different sections and frameworks.
Looks like this new Logger type is the one used in the session here:
https://developer.apple.com/documentation/os/logger
I'll file a radar for this but it's a bit confusing that there's an OSLog type in the os framework as well as the separate OSLog framework.
Looks like this new Logger type is the one used in the session here:
https://developer.apple.com/documentation/os/logger
I'll file a radar for this but it's a bit confusing that there's an OSLog type in the os framework as well as the separate OSLog framework.