title: Log message variadic params from ObjC to Swift
body: <p>How can I rewrite this code for Swift 3 or 4?   </p>
  
  <pre><code>+ (void)logMessage:(NSString *)format, ... {
  
          va_list args;
          va_start(args, format);
          NSLogv([NSString stringWithFormat:@"&lt;MYCLASS&gt; %@", format], args);
          va_end(args);
  }
  </code></pre>
  
  <p>thanks a lot</p>
  
  <p><strong>EDIT 06/15</strong>
  My solution:</p>
  
  <pre><code>func logMessage(_ args: Any...) {
  
      print("&lt;MYCLASS&gt; \(args.map { "\($0)" }.joined(separator: " "))") 
  }
  </code></pre>