Previous | Next
WireHose Developers Guide

Enabling logging

WireHose uses the NSLog class to provide logging about its behavior. In this example, we want to enable logging for the WHImporter class so we can see the feeds being imported.

  1. Choose Edit Active Executable 'HelloWorld' from the Project menu.
  2. Click the + icon under Launch Arguments to add each of these arguments:
    -WODebuggingEnabled NO
    -NSDebugGroups "(com.wirehose.base.WHLog.DebugGroupImporting, com.wirehose.base.WHLog.DebugGroupWireHose)" 
    -NSDebugLevel NSLog.DebugLevelCritical
    -ImportFeeds YES
  3. Check the Use column for each of the arguments.

Previous | Next