swift - swift3 how do you use os_log to show the value of a variable in the Console app -
when use os_log("configure %@", something) see in console configure <private>.
i understand default behavior (at least describe here https://developer.apple.com/documentation/os/logging?language=objc if objc.)
i tried os_log("configure %{public}s", something) show configure %{public}s".
using swift 3, how make variable appear in console ?
Comments
Post a Comment