I’ve mentioned a few libraries to make your logging statements more descriptive.
Here’s an NSLog replacement from Marin Todorov called MTLog that allows you to improve your logging statements extensively by adding a scripting capability for customizing your logging statements.
MTLog provides special scripting abilities allowing you to:
– Add a prefix to your log statements containing the file, class, method and line number
– Filter your statements if for instance you don’t want a certain class to create logging statements
– Route the log output to a file instead of the console. – Highlight specific statements with a search term.
There’s also an additional capability allowing you to easily create your own MTLog commands.
You can find MTLog on Github here.
A very nice library for customizing your logging statements.
Thanks to Marin for the submission.
- Enhanced Logging Tool That Can Add File Names/Line Numbers To Log Statements And More
- Easier Debugging With NSLog Statements
- Open Source Objective-C Category That Makes Block Related Logging Statements More Meaningful
- Advanced iOS App Logging For Easier Desktop And Even In-App Debugging
- Top iOS Development Resources For Week Ended September 8th, 2013
Original article: NSLog Replacement Providing More Descriptive And Flexible Logging Statements
©2013 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.




