[categories] [index] [all (552)] [latest]
#ifdef DEBUG
#define MyLog(fmt, ...) NSLog((@"%@ [Line %d] %s " fmt), [self class], __LINE__, __FUNCTION__, ##__VA_ARGS__);
#define MyLogError(fmt, ...) NSLog((@"[Error] %@ [Line %d] %s " fmt), [self class], __LINE__, __FUNCTION__, ##__VA_ARGS__);
#else
#define MyLog(fmt, ...)
#define MyLogError(fmt, ...) NSLog((@"[Error] %@ [Line %d] %s " fmt), [self class], __LINE__, __FUNCTION__, ##__VA_ARGS__);
#endif
but also:
NSLog(@"-[%@ %s]", isa, SELNAME(_cmd));
-[NSKVONotifying_AppDelegate awakeFromNib]