iOS Logging: How to Formatting Log Messages(get time_t, timeval, errno) in swift : How to the use System log through Logging. I go throw this apple Document 

> https://developer.apple.com/documentation/os/logging for logging. 

But cant get the Formatting Log Messages.

Using this code

> os_log(OS_LOG_DEFAULT, "Time: %{time_t}d", time_t)

OS_LOG_DEFAULT is show an Error
[![enter image description here][1]][1]


  [1]: https://i.stack.imgur.com/CHXya.png

How to use this OS_LOG_DEFAULT, How to get a all Formatting Log Messages (time_t,timeval,timespec,errno,iec-bytes,bitrate,iec-bitrate,uuid_t)

Want to know how to use this Performing Logging

    os_log("This is a log message.")

    os_log("This is additional info that may be helpful for troubleshooting.", log: OSLog.default, type: .info)

    let customLog = OSLog(subsystem: "com.your_company.your_subsystem_name.plist", category: "your_category_name")
    os_log("This is info that may be helpful during development or debugging.", log: customLog, type: .debug)

How to Use this in my application, want to get Formatting Log Messages,Performing Logging Help me. Thanks advance.
