FBSDKLogging.h 763 B

123456789101112131415161718192021222324252627282930
  1. /*
  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. #import <Foundation/Foundation.h>
  9. #import <FBSDKCoreKit/FBSDKLoggingBehavior.h>
  10. NS_ASSUME_NONNULL_BEGIN
  11. NS_SWIFT_NAME(Logging)
  12. @protocol FBSDKLogging
  13. @property (nonatomic, readonly, copy) NSString *contents;
  14. @property (nonatomic, readonly, copy) FBSDKLoggingBehavior loggingBehavior;
  15. - (instancetype)initWithLoggingBehavior:(FBSDKLoggingBehavior)loggingBehavior;
  16. + (void)singleShotLogEntry:(FBSDKLoggingBehavior)loggingBehavior
  17. logEntry:(NSString *)logEntry;
  18. - (void)logEntry:(NSString *)logEntry;
  19. @end
  20. NS_ASSUME_NONNULL_END