lpw
2024-06-28 2a6e182ea4428bff2e16f033c28850f3a02a93a9
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
e0ec42 9 #import <Foundation/Foundation.h>
2e29a3 10
L 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
e0ec42 19 /// Include access token in logging.
L 20 FOUNDATION_EXPORT FBSDKLoggingBehavior const FBSDKLoggingBehaviorAccessTokens;
2e29a3 21
e0ec42 22 /// Log performance characteristics
L 23 FOUNDATION_EXPORT FBSDKLoggingBehavior const FBSDKLoggingBehaviorPerformanceCharacteristics;
2e29a3 24
e0ec42 25 /// Log FBSDKAppEvents interactions
L 26 FOUNDATION_EXPORT FBSDKLoggingBehavior const FBSDKLoggingBehaviorAppEvents;
2e29a3 27
e0ec42 28 /// Log Informational occurrences
L 29 FOUNDATION_EXPORT FBSDKLoggingBehavior const FBSDKLoggingBehaviorInformational;
2e29a3 30
e0ec42 31 /// Log cache errors.
L 32 FOUNDATION_EXPORT FBSDKLoggingBehavior const FBSDKLoggingBehaviorCacheErrors;
2e29a3 33
e0ec42 34 /// Log errors from SDK UI controls
L 35 FOUNDATION_EXPORT FBSDKLoggingBehavior const FBSDKLoggingBehaviorUIControlErrors;
2e29a3 36
e0ec42 37 /// Log debug warnings from API response, i.e. when friends fields requested, but user_friends permission isn't granted.
L 38 FOUNDATION_EXPORT FBSDKLoggingBehavior const FBSDKLoggingBehaviorGraphAPIDebugWarning;
2e29a3 39
L 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  */
e0ec42 43 FOUNDATION_EXPORT FBSDKLoggingBehavior const FBSDKLoggingBehaviorGraphAPIDebugInfo;
2e29a3 44
e0ec42 45 /// Log errors from SDK network requests
L 46 FOUNDATION_EXPORT FBSDKLoggingBehavior const FBSDKLoggingBehaviorNetworkRequests;
2e29a3 47
e0ec42 48 /// Log errors likely to be preventable by the developer. This is in the default set of enabled logging behaviors.
L 49 FOUNDATION_EXPORT FBSDKLoggingBehavior const FBSDKLoggingBehaviorDeveloperErrors;
2e29a3 50
L 51 NS_ASSUME_NONNULL_END