Get Updates By E-mail 

Article Written By:
Johann Dowa

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.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments