类 FileRecordUtils
java.lang.Object
dev.utils.common.assist.record.FileRecordUtils
detail: 文件记录分析工具类
- 作者:
- Ttt
-
嵌套类概要
嵌套类 -
方法概要
修饰符和类型方法说明static StringgetLogContent(RecordConfig config, RecordInsert recordInsert, Object... logs) 获取日志内容static StringgetLogContent(RecordConfig config, Object... logs) 获取日志内容static StringgetLogContent(RecordInsert recordInsert, Object... logs) 获取日志内容static RecordInsert获取日志记录插入信息static boolean是否处理记录static booleanisSuccessful(String value) 校验记录方法返回字符串是否成功static Stringrecord(RecordConfig config, Object... logs) 记录方法static voidsetCallback(FileRecordUtils.Callback callback) 设置文件记录回调static voidsetHandler(boolean handler) 设置是否处理记录static voidsetRecordInsert(RecordInsert recordInsert) 设置日志记录插入信息
-
方法详细资料
-
isSuccessful
校验记录方法返回字符串是否成功- 参数:
value- 待校验值- 返回:
trueyes,falseno
-
isHandler
public static boolean isHandler()是否处理记录- 返回:
trueyes,falseno
-
setHandler
public static void setHandler(boolean handler) 设置是否处理记录- 参数:
handler- 是否处理记录
-
getRecordInsert
获取日志记录插入信息- 返回:
- 日志记录插入信息
-
setRecordInsert
设置日志记录插入信息- 参数:
recordInsert- 日志记录插入信息
-
setCallback
设置文件记录回调- 参数:
callback- 文件记录回调
-
getLogContent
获取日志内容- 参数:
config- 日志记录配置信息logs- 日志内容数组- 返回:
- 日志内容
-
getLogContent
获取日志内容- 参数:
recordInsert- 日志记录插入信息logs- 日志内容数组- 返回:
- 日志内容
-
getLogContent
获取日志内容- 参数:
config- 日志记录配置信息recordInsert- 日志记录插入信息logs- 日志内容数组- 返回:
- 日志内容
-
record
记录方法- 参数:
config- 日志记录配置信息logs- 日志内容数组- 返回:
- 记录结果提示
-