title: How to disable logging?
body: <p>I have an app that is making use of <code>UITextChecker</code> class provided by Apple. This class has a following bug: If the iOS device is offline (expected to be often for my app) each time I call some of <code>UITextChecker</code>s methods it logs following to console:</p>
  
  <pre><code>2016-03-08 23:48:02.119 HereIsMyAppName [4524:469877] UITextChecker sent string:isExemptFromTextCheckerWithCompletionHandler: to com.apple.TextInput.rdt but received error Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.TextInput.rdt was invalidated."
  </code></pre>
  
  <p>I do not want to have logs spammed by this messages. Is there a way to disable logging from code? I would disable logging before call to any of <code>UITextChecker</code>s methods and reenable it afterwards. Or is there perhaps any way how to disable logging selectively per class (event if it is foundation class not mine)? Or any other solution?</p>