XKitLog class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
d({String tag = '', XKitLogType type = XKitLogType.normal, String moduleName = '', required String content})
→ void
-
debug 打印 参数同 verbose
-
e({String tag = '', XKitLogType type = XKitLogType.normal, String moduleName = '', required String content})
→ void
-
error 打印 参数同 verbose
-
i({String tag = '', XKitLogType type = XKitLogType.normal, String moduleName = '', required String content})
→ void
-
info 打印 参数同 verbose
-
init(XKitLogLevel level, String path, String namePrefix)
→ bool
-
level 最低输出 log 等级
path 日志文件路径
name 日志文件名称
-
v({String tag = '', XKitLogType type = XKitLogType.normal, String moduleName = '', required String content})
→ void
-
verbose 打印
tag tag 说明
type 0-普通log,1-api log
moduleName 模块名称
content 日志内容
-
w({String tag = '', XKitLogType type = XKitLogType.normal, String moduleName = '', required String content})
→ void
-
warn 打印 参数同 verbose