Simple code for logging data from a running app to Xcode's console.