commit | author | age
|
2e29a3
|
1 |
/* |
L |
2 |
* Copyright (c) Meta Platforms, Inc. and affiliates. |
|
3 |
* All rights reserved. |
|
4 |
* |
|
5 |
* This source code is licensed under the license found in the |
|
6 |
* LICENSE file in the root directory of this source tree. |
|
7 |
*/ |
|
8 |
|
|
9 |
#import <Foundation/Foundation.h> |
|
10 |
|
|
11 |
#import <FBSDKCoreKit/FBSDKLoggingBehavior.h> |
|
12 |
|
|
13 |
NS_ASSUME_NONNULL_BEGIN |
|
14 |
|
|
15 |
NS_SWIFT_NAME(Logging) |
|
16 |
@protocol FBSDKLogging |
|
17 |
|
|
18 |
@property (nonatomic, readonly, copy) NSString *contents; |
|
19 |
@property (nonatomic, readonly, copy) FBSDKLoggingBehavior loggingBehavior; |
|
20 |
|
|
21 |
- (instancetype)initWithLoggingBehavior:(FBSDKLoggingBehavior)loggingBehavior; |
|
22 |
|
|
23 |
+ (void)singleShotLogEntry:(FBSDKLoggingBehavior)loggingBehavior |
|
24 |
logEntry:(NSString *)logEntry; |
|
25 |
|
|
26 |
- (void)logEntry:(NSString *)logEntry; |
|
27 |
|
|
28 |
@end |
|
29 |
|
|
30 |
NS_ASSUME_NONNULL_END |