Reputation: 447
Currently, I use NSLog to print out all most of messages in Xcode 5, and sometimes there are lots methods called. I'm wondering whether there is "easy" ways to redirect all the console output to a file
Upvotes: 0
Views: 1121
Reputation: 5684
Best way is use some logger, you can write one by self or use for example CocoaLumberjack is easy to install end config with rich functional.
PS. If you prefer not use third party code, create your own logger and make makro with NSLog
name and your function inside.
Upvotes: 1