title: Using os_log to log function arguments, or other dynamic data
body: <p>I'm trying to log function arguments into <code>os_log</code> like this:</p>
  
  <pre><code>func foo(x: String, y: [String:String]) {
      //...
      os_log("foo: \(x) \(y.description)", log: OSLog.default, type: .debug)
  }
  </code></pre>
  
  <p>But getting error:</p>
  
  <blockquote>
    <p>Cannot convert value of type 'String' to expected argument type 'StaticString'</p>
  </blockquote>
  
  <p>So how can I log function arguments, or any other dynamic data?</p>