NSSpeechRecognizer cluttering Xcode console with debug messages

I have just added an NSSpeechRecognizer to an OS X App and find that every time the local var is referenced a quantity of messages appear in the console pane. Have I inadvertently turn on a debug switch somewhere? Or has an internal debug state been inadvertently released in the wild ?


Does anyone know how to stop it?


This is using Xcode 8.1Version 8.1 (8B62) with Swift 3.


a simple

     let mySpeechRecogizer = NSSpeechRecognizer()

Generates console output for me


Below is a small sample of what I am seeing in the console pane.


2016-11-29 10:42:24.376759 CutsEditor[34287:10112191] Broker <- <dictionary: 0x60000014a190> { count = 4, transaction: 0, voucher = 0x0, contents =
  "actMode" => <uint64: 0x6000002345e0>: 140733193388033
  "feedback" => <bool: 0x7fffb7246aa8>: true
  "msg" => <int64: 0x600000023500>: 500
  "recID" => <int64: 0x600000234d20>: -1
}
2016-11-29 10:42:24.377505 CutsEditor[34287:10112191] Broker -> <dictionary: 0x608000147c70> { count = 1, transaction: 0, voucher = 0x0, contents =
  "recID" => <int64: 0x608000020de0>: 0
}

Anything in development is considered debug code until a release build is generated. Don't worry about it.

Thanks for the response. Nothing that I have seen suggested that NSSpeechRecognizer is anything other that production code, hence the suprise at what looks like debug output. Given the large number of XCode configuration options it is not 'beyond the wit of man' that I had inadvertently triggered it. The unwritten question here is that of "is it just me" or do others see the same output. Can you reproduce this ? I do notice that the output does not occur when NSSpeechRecognizer is used in a playground context.

I can see it as well, hence why i said ignore it. Apple writes a lot of info to the system console. They have their reasons for this short of some plist config to switch it off at runtime ....

OK, thanks for confirming that. The volume of output does make finding my output a bit of a challenge 😢

Did you by any chance find a way to supress these messages? I have the same problem and frankly looking through pages of these Apple generated message to find the one line that I have created is getting to be beyond a pain.

NSSpeechRecognizer cluttering Xcode console with debug messages
 
 
Q