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
logBuffer ↔ StringBuffer
getter/setter pair
logDir ↔ String
getter/setter pair
MaxLogFileCount ↔ int
getter/setter pair
MaxLogFileSize ↔ int
getter/setter pair
tag ↔ String
getter/setter pair
timer ↔ Timer?
getter/setter pair
WriteLogFileTime ↔ int
写日志文件的事件间隔
getter/setter pair

Static Methods

i(String tag, Object? object) → Future<void>
init() → Future<void>
初始化*
logToBuffer(String message) → void
写日志到文件
logToFile() → void
startTimer() → void
开始定时器*
uploadLogFile(dynamic callback(HttpResult result)) → void
上传日志