-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Fran Montiel
committed
Apr 6, 2023
1 parent
20fd373
commit d15edbc
Showing
22 changed files
with
92 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+0 Bytes
(100%)
BugfenderSDK.xcframework/ios-arm64/BugfenderSDK.framework/BugfenderSDK
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+0 Bytes
(100%)
...K.xcframework/ios-arm64_x86_64-maccatalyst/BugfenderSDK.framework/Versions/A/BugfenderSDK
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+0 Bytes
(100%)
BugfenderSDK.xcframework/ios-arm64_x86_64-simulator/BugfenderSDK.framework/BugfenderSDK
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// | ||
// Created by Fran Montiel on 24/1/23. | ||
// Copyright (c) 2023 Mobile Jazz. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
#import "BFLogInterceptor.h" | ||
|
||
/** | ||
* Default BFLogInterceptor that returns the same BFInterceptedLog that receives | ||
*/ | ||
@interface BFDefaultLogInterceptor: NSObject<BFLogInterceptor> | ||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// | ||
// BFInterceptedLog.h | ||
// BugfenderSDK | ||
// | ||
// Created by Fran Montiel on 24/1/23. | ||
// Copyright © 2023 Mobile Jazz. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
/** | ||
* Intercepted log from NSLog/OSLog | ||
*/ | ||
@interface BFInterceptedLog : NSObject | ||
|
||
-(instancetype _Nonnull) initWithText: (NSString*_Nonnull) text level: (NSInteger)level date: (NSDate*_Nonnull) date; | ||
|
||
@property (nonatomic, assign) NSInteger line; | ||
@property (nonatomic, assign) NSInteger level; | ||
|
||
@property (nonatomic, strong) NSDate * _Nonnull date; | ||
|
||
@property (nonatomic, strong) NSString * _Nonnull tag; | ||
@property (nonatomic, strong) NSString * _Nonnull method; | ||
@property (nonatomic, strong) NSString * _Nonnull file; | ||
@property (nonatomic, strong) NSString * _Nonnull text; | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// | ||
// NSLogInterceptor.h | ||
// BugfenderSDK | ||
// | ||
// Created by Fran Montiel on 24/1/23. | ||
// Copyright © 2023 Mobile Jazz. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
#import "BFInterceptedLog.h" | ||
|
||
/** | ||
* Intercept a log entry from NSLog/OSLog and allow to modify it or to block it. | ||
*/ | ||
@protocol BFLogInterceptor <NSObject> | ||
|
||
/** | ||
* Intercept a log entry from NSLog/OSLog and allow to modify it or to block it. | ||
* @param interceptedLog log intercepted | ||
* @return The log entry to be logged. If nil is returned the log entry won't be logged. | ||
*/ | ||
- (BFInterceptedLog *)intercept:(BFInterceptedLog *)interceptedLog; | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.