title: Writing NSLog to a local file on the device (iOS)
body: <p>I have an application that currently outputs through NSLog for certain things, and I want to have those outputs be written to a local file.</p>
  
  <p>I have been using this article:
  <a href="https://stackoverflow.com/questions/22871855/save-nslog-into-a-local-file">Save NSLog into a Local File</a></p>
  
  <p>It was answered by stack overflow user Josiah, so thank you for that Josiah!</p>
  
  <p>I want to use the code presented in the linked question, but I am not sure of how to format the self created logIt method to replace the NSLog calls.</p>
  
  <p>Can anyone help a  fledgling iOS coder?</p>
  
  <p>Thanks!</p>