title: Apple Recommended Logging approach for Swift
body: <h1>Note:</h1>
  <p>This is not a duplicate of the linked questions</p>
  <h1>Goal:</h1>
  <ul>
  <li>I am not looking for a <code>print</code> vs <code>NSLog</code> differences</li>
  <li>In fact I don't want to use either of them (presently using <code>print</code>)</li>
  <li>I am looking for an Apple recommended way, just can't seem to find the command / documentation, I just know it exists.</li>
  </ul>
  <h1>Present implementation:</h1>
  <p>Presently I am using <code>print</code> statements with some global functions</p>
  <h1>Question</h1>
  <ol>
  <li>What is the recommended way / approach to handle errors (I don't want to use NSLog as they would write into the device's console)</li>
  <li>This is only for debugging purposes during development</li>
  </ol>