bonus-material-app/nativeplugins/Mpaas-Scan/ios/APRemoteLogging.framework/Headers/AntLogLevel.h

49 lines
1.1 KiB
C
Raw Permalink Normal View History

2024-12-20 09:23:59 +08:00
//
// AntLogLevel.h
// AntLog
//
// Created by 卡迩 on 2017/1/28.
// Copyright © 2017年 Alipay. All rights reserved.
//
#ifndef AntLogLevel_h
#define AntLogLevel_h
/**
*
*/
typedef NS_ENUM(NSInteger,AntLogLevel) {
AntLogLevelHigh = 1, //级别最高
AntLogLevelNormal = 2, //默认级别
AntLogLevelLow = 3 //级别最低
};
#ifdef __cplusplus
extern "C" {
#endif
/**
*
* @param str logLevel,@"1"@"level1"
*/
AntLogLevel AntLogLevelFromString(NSString *str);
#ifdef SDK_IS4_ALIPAY
/**
* logLevel转换成字符串
* @param level logLevel
* @return level对应的字符串,@"1"@"2"@"3"
*/
NSString *AntLogLevelToString(AntLogLevel level);
#endif
/**
* ,Map中获取logLevel值
* @param dict Map
*/
AntLogLevel AntLogLevelFromFormatterDict(NSDictionary *dict);
#ifdef __cplusplus
}
#endif
#endif /* AntLogLevel_h */