BTLogger_Internal.h 524 B

123456789101112131415161718192021
  1. #if __has_include(<Braintree/BraintreeCore.h>)
  2. #import <Braintree/BTLogger.h>
  3. #else
  4. #import <BraintreeCore/BTLogger.h>
  5. #endif
  6. @interface BTLogger ()
  7. - (void)log:(NSString *)format, ...;
  8. - (void)critical:(NSString *)format, ...;
  9. - (void)error:(NSString *)format, ...;
  10. - (void)warning:(NSString *)format, ...;
  11. - (void)info:(NSString *)format, ...;
  12. - (void)debug:(NSString *)format, ...;
  13. /**
  14. Custom block for handling log messages
  15. */
  16. @property (nonatomic, copy) void (^logBlock)(BTLogLevel level, NSString *message);
  17. @end