Skip to content

Loading…

Update Lumberjack/DDLog.h #60

Merged
merged 1 commit into from

2 participants

@orarbel

Fixed THIS_METHOD example

@orarbel orarbel Update Lumberjack/DDLog.h
Fixed THIS_METHOD example
dec86e7
@robbiehanson robbiehanson merged commit 290fef9 into CocoaLumberjack:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 5, 2012
  1. @orarbel

    Update Lumberjack/DDLog.h

    orarbel committed
    Fixed THIS_METHOD example
Showing with 1 addition and 1 deletion.
  1. +1 −1 Lumberjack/DDLog.h
View
2 Lumberjack/DDLog.h
@@ -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.
Something went wrong with that request. Please try again.