Missing Logger Symbol on macOS 15
The SDK marksLogger.isEnabled(type:)as available since macOS 11, but macOS 15.6.1’s libswiftos doesn’t have it. For four days [my app] quit at launch on macOS 15, and I didn’t know.OSLoghas its ownisEnabled(type:), which goes to the C functionos_log_type_enabled, there since macOS 10.12. So I keep anOSLoghandle, make theLoggerfrom it, and ask the handle
Previously:
参与讨论