Log class
日志工具类*
Constructors
- Log()
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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- currentLogFileIndex ↔ int
-
getter/setter pair
- inited ↔ bool
-
getter/setter pair
- lastCheckFileIndexTime ↔ int
-
getter/setter pair
- logDir ↔ String
-
getter/setter pair
- logger ↔ Logger?
-
getter/setter pair
- maxLogFiles ↔ int
-
getter/setter pair
- maxLogFileSize ↔ int
-
getter/setter pair
- tag ↔ String
-
getter/setter pair
- totalLogSize ↔ int
-
getter/setter pair
Static Methods
-
createLogger(
dynamic filePath) → dynamic - 创建logger
-
d(
String tag, Object? object) → void - 打印info级别日志*
-
getFileLogger(
String content) → Logger - 获取日志记录器
-
i(
String tag, Object? object) → void - 打印debug级别日志*
-
init(
) → Future< void> - 初始化*
-
uploadLogFile(
dynamic callback(HttpResult result)) → void - 上传日志