Permalink
Browse files

Update Lumberjack/DDLog.h

Fixed THIS_METHOD example
  • Loading branch information...
1 parent 536c685 commit dec86e7b9408b5333726221c34179730be3b2e4f @orarbel orarbel committed Sep 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Lumberjack/DDLog.h
View
@@ -252,7 +252,7 @@ NSString *DDExtractFileNameWithoutExtension(const char *filePath, BOOL copy);
/**
* The THIS_METHOD macro gives you the name of the current objective-c method.
*
- * For example: DDLogWarn(@"%@ - Requires non-nil strings") -> @"setMake:model: requires non-nil strings"
+ * For example: DDLogWarn(@"%@ - Requires non-nil strings", THIS_METHOD) -> @"setMake:model: requires non-nil strings"
*
* Note: This does NOT work in straight C functions (non objective-c).
* Instead you should use the predefined __FUNCTION__ macro.

0 comments on commit dec86e7

Please sign in to comment.