Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Grepping or filtering Xcode "Devices" console

Tags:

logging

xcode

ios

I'm debugging a Corona SDK app that I'm running on my iPhone. As I run the app it sends debug info that I can see in the Xcode "Devices" panel. Unfortunately that same console is littered with OS logs which make my own app's logs offscreen very fast. I can copy those into a file and grep them after I'm done but I would like to do so realtime so that I only see my own app's logs.

Is this possible? If so, how?

like image 349
Julian Avatar asked Mar 22 '15 17:03

Julian


2 Answers

As per https://developer.apple.com/documentation/os/logging?language=objc

Open /Applications/Utilities/Console.app

MacOS 10.12 and above. Works with AppleWatch.

like image 116
Warren Stringer Avatar answered Nov 06 '22 11:11

Warren Stringer


Just found this tool:

https://lemonjar.com/iosconsole/

I have nothing to do with that company, just thought I post it here, because I wish I had found it earlier!

Just install and you can live filter the device console - awesome :)!

like image 6
Fabian Avatar answered Nov 06 '22 11:11

Fabian