IFlySetting Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | IFlySetting.h |
+ showLogcat:
是否打印控制台log
在软件发布时,建议关闭此log。
+ (void)showLogcat:(BOOL)showLogParameters
showLog |
-[in] YES,打印log;NO,不打印 |
|---|
Declared In
IFlySetting.h
+ setLogFile:
设置日志msc.log生成路径以及日志等级
+ (void)setLogFile:(LOG_LEVEL)levelParameters
level |
-[in] 日志打印等级 |
|---|
Discussion
| 日志打印等级 | 描述 |
|---|---|
| LVL_ALL | 全部打印 |
| LVL_DETAIL | 高,异常分析需要的级别 |
| LVL_NORMAL | 中,打印基本日志信息 |
| LVL_LOW | 低,只打印主要日志信息 |
| LVL_NONE | 不打印 |
Declared In
IFlySetting.h
+ setLogFilePath:
设置日志文件的路径
日志文件默认存放在Documents目录。
+ (void)setLogFilePath:(NSString *)pathParameters
path |
-[in] 日志文件的全路径 |
|---|
Declared In
IFlySetting.h