Files
CustomPlugin/Libs/YTXMonitor.framework/Headers/ACMLogger.h
2023-04-10 18:48:16 +08:00

35 lines
807 B
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// ACMLogger.h
// Monitor
//
// Created by Vienta on 2019/11/13.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface ACMLogger : NSObject
+ (BOOL)verboseRecord:(id)obj;
+ (BOOL)debugRecord:(id)obj;
+ (BOOL)infoRecord:(id)obj;
+ (BOOL)warnRecord:(id)obj;
+ (BOOL)errorRecord:(id)obj;
/**
* 日志上传
* @param startDate 日志开始时间如果传nil则查询不加该条件
* @param endDate 日志结束时间如果传nil则查询不加该条件
* @param levels 日志等级数组里面包含对应的日志等级字符串如果传nil则查询不加该条件
*/
+ (void)uploadLoggerRecordsWithStartDate:(NSDate * _Nullable)startDate endDate:(NSDate * _Nullable)endDate levels:(NSArray <NSString *>* _Nullable)levels;
@end
NS_ASSUME_NONNULL_END