markuswinkler / XCGLoggerNSLoggerConnector

Adds NSLogger support (with images) to XCGLogger.
MIT License
20 stars 10 forks source link

Use NSLogger API to pass the file/line-number/function so that the Viewer Apps can choose to show or hide them. #2

Closed briancordanyoung closed 8 years ago

briancordanyoung commented 8 years ago

I was happy to see that you made XCGLoggerNSLoggerConnector!

I don't know if you have a reason to always include the file, line-number & function name in the log message. But, NSLogger allows these to be passed so that the viewer apps can choose to show or hide this meta data. This pull request changes all NSLogger calls to do this.

markuswinkler commented 8 years ago

cool, thanks! I simply didn't know about that functionality. For me personally the inline debug info is easier to read (can read all the info in one sentence), so I added that behavior again as an option (default is off).

briancordanyoung commented 8 years ago

Nice. Thanks for integrating that!