Using the above code you can now call some new functions within your app, these being:
ALog() will display the standard NSLog but containing function and line number. DLog() will output like NSLog only when the DEBUG variable is set ULog() will show the UIAlertView only when the DEBUG variable is set Each one of these will also include the line number and function that created it, for example, ALog(@"Hello world"); would display as -[LibraryController awakeFromNib] [Line 364] Hello world.