Skip to content

Commit

Permalink
Fix log (Leanplum#544)
Browse files Browse the repository at this point in the history
  • Loading branch information
nzagorchev authored Nov 24, 2022
1 parent f9c474e commit 7666215
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions LeanplumSDK/LeanplumSDK/Classes/Utilities/LPSwizzle.m
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ + (BOOL)swizzleClassMethod:(SEL)origSel_ withClassMethod:(SEL)altSel_ error:(NSE

@end

// Methods by Leanplum.
#pragma mark - Methods by Leanplum
@implementation LPSwizzle (LeanplumExtension)

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

0 comments on commit 7666215

Please sign in to comment.