title: How do I log to file on the Mac (similar to log4net)
body: <p>For my Mac app I'd like to create a log file on disk similar to those produced by log4net windows side. Things I'd like include a date stamp, logging levels (Debug, Info, Warning, Error), etc, and I'd prefer not to have to roll my own from scratch.</p>
  
  <p>Both VMWare fusion and JollysFastVNC do something similar to what I'm looking for, albeit without the log levels.</p>
  
  <p>Logging to the console with NSLog() just doesn't cut it for me.</p>
  
  <p>How do I do this?</p>