Missing log method from current iOS 14 APIs

I noticed there is logging API in this session which doesn't seem to be public right now:

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?
Answered by bjtitus in 614073022
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.
Accepted Answer
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.
Missing log method from current iOS 14 APIs
 
 
Q