// // AntRealtimeLogUploader.h // APRemoteLogging // // Created by 卡迩 on 2017/6/30. // Copyright © 2017年 Alipay. All rights reserved. // #import #import "AntRealtimeLogItem.h" @protocol AntRealtimeLogUploaderDelegate; //////////////////////////////////////////////////////////////////////////////// @protocol AntRealtimeLogUploader + (id)sharedInstance; - (void)setDelegate:(id)delegate; - (void)startTimerWithInterval:(NSUInteger)interval; - (void)stopTimer; - (void)enqueueLogs:(NSArray *)logs; @end //////////////////////////////////////////////////////////////////////////////// @protocol AntRealtimeLogUploaderDelegate - (void)onRealtimeLogUploaderTimerFired; - (void)onRealtimeLogUploadFinish:(BOOL)success items:(NSArray *)items extraInfo:(NSDictionary *)info; @end //////////////////////////////////////////////////////////////////////////////// #ifdef __cplusplus extern "C" { #endif // __cplusplus id AntRealtimeLogUploaderGet(); #ifdef __cplusplus } #endif // __cplusplus