Skip to content

Instantly share code, notes, and snippets.

@christianroman
Created October 30, 2013 19:26

Revisions

  1. @chroman chroman created this gist Oct 30, 2013.
    5 changes: 5 additions & 0 deletions NSLog.m
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    #ifdef VERBOSE_DEBUG_LOGGING
    # define NSLog(fmt, ...) NSLog((@"%s(%d) " fmt), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__);
    #else
    # define NSLog(...)
    #endif