| | |
| | | * LICENSE file in the root directory of this source tree. |
| | | */ |
| | | |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | #import <FBSDKCoreKit/FBSDKLogging.h> |
| | | #import <FBSDKCoreKit/FBSDKLoggingBehavior.h> |
| | | #import <Foundation/Foundation.h> |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | | /** |
| | | |
| | | Simple logging utility for conditionally logging strings and then emitting them |
| | | via NSLog(). |
| | | |
| | |
| | | |
| | | @warning INTERNAL - DO NOT USE |
| | | */ |
| | | NS_SWIFT_NAME(Logger) |
| | | @interface FBSDKLogger : NSObject |
| | | NS_SWIFT_NAME(_Logger) |
| | | @interface FBSDKLogger : NSObject <FBSDKLogging> |
| | | |
| | | - (instancetype)init DEPRECATED_MSG_ATTRIBUTE("`init` is deprecated and will be removed in the next major release. Please use one of the other available initializers"); |
| | | + (instancetype)new DEPRECATED_MSG_ATTRIBUTE("`new` is deprecated and will be removed in the next major release. Please use one of the other available initializers"); |
| | | - (instancetype)init NS_UNAVAILABLE; |
| | | + (instancetype)new NS_UNAVAILABLE; |
| | | |
| | | // Simple helper to write a single log entry, based upon whether the behavior matches a specified on. |
| | | + (void)singleShotLogEntry:(FBSDKLoggingBehavior)loggingBehavior |