common.h

So I got sick with NSLog and wrote myself a simple wrapper which you can find here.

The Syntax is the same but the printout is why nicer to read, it looks like this:

2013-09-02 17:00:49.543 AppName[4841:a0b] (FilterAppDelegate.m:15 -[FilterAppDelegate application:didFinishLaunchingWithOptions:]) TEST LOG

So you can see the filename, line number, function and everything else important directly.

This entry was posted in computer and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *