Error log for application

When I run my application from Xcode I get the console output “ very handy as it shows if there is an error. What about when I take that application and run it on a different machine? Can I still get the console output to a file? Or do I have to make my own error log for everywhere that I think I might need one?

BTW the application works fine on my machine with my circumstances but fails on another machine I tested it on.

Model: MacBook Pro 2.7 GHz Core i7 16GB RAM
Browser: Safari 537.31
Operating System: Mac OS X (10.8)

Have a look at Console.app, in Utilities.

I opened Console.app and found my application in two places: User Diagnostic Reports and System Diagnostic Reports. Neither of these has the kind of output that I might see in the Xcode console. So no log statements or error statements that I can see. There is a lot of info which is unfathomable to me!

You want to select All Messages. You can then filter the list.