Categories
Featured iPhone Development Resources iOS Development Libraries iOS Programming Tools And Utilities Objective-C Open Source iOS Libraries And Tools

NSLog Replacement Providing More Descriptive And Flexible Logging Statements

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.