is it possible to route all the NSLog calls from our iOS app and private frameworks into a single file easily.
Like redefining NSLog to something else ?
is it possible to route all the NSLog calls from our iOS app and private frameworks into a single file easily.
Like redefining NSLog to something else ?
I translated this answer to Swift for you. Call this function in your
didFinishLaunchingWithOptionsin AppDelegate.This is the path to the
console.logfile on iOS devices:/var/mobile/Containers/Data/Application/<your-app>/Documents/console.log