lpw
2022-02-15 2e29a3a585524a054640bb6e7bdf26fe77ba1f17
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 <UIKit/UIKit.h>
10
11 NS_ASSUME_NONNULL_BEGIN
12
13 /*
14  * Constants defining logging behavior.  Use with <[FBSDKSettings setLoggingBehavior]>.
15  */
16
17 typedef NSString *FBSDKLoggingBehavior NS_TYPED_ENUM NS_SWIFT_NAME(LoggingBehavior);
18
19 /** Include access token in logging. */
20 FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorAccessTokens;
21
22 /** Log performance characteristics */
23 FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorPerformanceCharacteristics;
24
25 /** Log FBSDKAppEvents interactions */
26 FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorAppEvents;
27
28 /** Log Informational occurrences */
29 FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorInformational;
30
31 /** Log cache errors. */
32 FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorCacheErrors;
33
34 /** Log errors from SDK UI controls */
35 FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorUIControlErrors;
36
37 /** Log debug warnings from API response, i.e. when friends fields requested, but user_friends permission isn't granted. */
38 FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorGraphAPIDebugWarning;
39
40 /** Log warnings from API response, i.e. when requested feature will be deprecated in next version of API.
41  Info is the lowest level of severity, using it will result in logging all previously mentioned levels.
42  */
43 FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorGraphAPIDebugInfo;
44
45 /** Log errors from SDK network requests */
46 FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorNetworkRequests;
47
48 /** Log errors likely to be preventable by the developer. This is in the default set of enabled logging behaviors. */
49 FOUNDATION_EXPORT FBSDKLoggingBehavior FBSDKLoggingBehaviorDeveloperErrors;
50
51 NS_ASSUME_NONNULL_END