类 JtlwLogUtils
java.lang.Object
javabase.lorenwang.tools.JtlwLogUtils
public class JtlwLogUtils extends Object
功能作用:日志打印工具类
初始注释时间: 2020/8/27 11:38 上午
创建人:王亮(Loren)
思路:
方法:
注意:
修改人:
修改时间:
备注:
- 作者:
- 王亮(Loren)
-
字段概要
字段 修饰符和类型 字段 说明 protected StringDEFAULT_MSGprotected StringDEFAULT_TAGprotected FilelogSaveFileprotected StringlogSaveFileDirPath日志保存地址static JtlwLogUtilslogUtils当前实例protected booleanshowLog是否打印日志 -
构造器概要
构造器 构造器 说明 JtlwLogUtils() -
方法概要
修饰符和类型 方法 说明 StringgetLogSaveFileDirPath()booleanisShowLog()voidlogD(Class cls, String msg)voidlogD(String msg)voidlogD(String tag, String msg)voidlogD(String tag, String msg, Throwable tr)voidlogD(Throwable tr)voidlogE(Class cls, String msg)voidlogE(String tag, String msg)voidlogE(Throwable e)voidlogI(Class cls, String msg)voidlogI(String tag, String msg)voidlogI(Throwable tr)voidlogV(String msg)voidlogV(String tag, String msg)voidlogV(Throwable tr)voidsetLogSaveFileDirPath(String logSaveFileDirPath)voidsetShowLog(boolean showLog)
-
字段详细资料
-
构造器详细资料
-
JtlwLogUtils
public JtlwLogUtils()
-
-
方法详细资料
-
setShowLog
public void setShowLog(boolean showLog) -
isShowLog
public boolean isShowLog() -
setLogSaveFileDirPath
-
getLogSaveFileDirPath
-
logV
-
logV
-
logV
-
logD
-
logE
-
logE
-
logI
-
logD
-
logD
-
logD
-
logE
-
logD
-
logI
-
logI
-