APRemoteLogger+AntLog.h 751 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //
  2. // APRemoteLogger+AntLog.h
  3. // APRemoteLogging
  4. //
  5. // Created by 卡迩 on 2017/9/29.
  6. // Copyright © 2017年 Alipay. All rights reserved.
  7. //
  8. #import <APRemoteLogging/APRemoteLogging.h>
  9. #import "AntBehavior.h"
  10. #ifdef SDK_IS4_ALIPAY
  11. #import "AntPerformance.h"
  12. #endif
  13. @interface APRemoteLogger (AntLog)
  14. /**
  15. 开/关Log功能
  16. @param enable 传入YES开启,否则关闭。默认开启。
  17. */
  18. + (void)enableLog:(BOOL)enable;
  19. /**
  20. 行为埋点接口
  21. @param behavior 行为埋点信息. @see \c AntBehavior.
  22. */
  23. + (void)logBehavior:(AntBehavior *)behavior;
  24. #ifdef SDK_IS4_ALIPAY
  25. /**
  26. 性能埋点接口
  27. @param performance 性能埋点信息. @see \c AntPerformance.
  28. */
  29. + (void)logPerformance:(AntPerformance *)performance;
  30. #endif
  31. @end