Skip to content

Commit 7666215

Browse files
authored
Fix log (#544)
1 parent f9c474e commit 7666215

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

LeanplumSDK/LeanplumSDK/Classes/Utilities/LPSwizzle.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ + (BOOL)swizzleClassMethod:(SEL)origSel_ withClassMethod:(SEL)altSel_ error:(NSE
148148

149149
@end
150150

151-
// Methods by Leanplum.
151+
#pragma mark - Methods by Leanplum
152152
@implementation LPSwizzle (LeanplumExtension)
153153

154154
+ (BOOL)hookInto:(SEL)originalSelector withSelector:(SEL)newSelector forObject:(id)object
@@ -162,7 +162,7 @@ + (BOOL)hookInto:(SEL)originalSelector withSelector:(SEL)newSelector forObject:(
162162
method_getTypeEncoding(class_getInstanceMethod(
163163
NSObject.class, newSelector)));
164164
if (!methodAdded) {
165-
LPLog(LPError, @"Method not added: %@", originalSelector);
165+
LPLog(LPError, @"Method not added: %@", NSStringFromSelector(originalSelector));
166166
}
167167
} else {
168168
[LPSwizzle swizzleMethod:originalSelector withMethod:newSelector error:&error

0 commit comments

Comments
 (0)