AppLog class

app日志 建议使用日志模板,如: LogMsg('xxx', tag: 'xx', method: 'xxx.xxx')

Constructors

AppLog()

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

fileName String
获取日志文件名称
no setter
isDebug bool
getter/setter pair
logger ↔ Logger
getter/setter pair
outPath String
getter/setter pair

Static Methods

clean() Future<void>
清理日志
d(dynamic message) → void
e(dynamic message) → void
i(dynamic message) → void
init() → dynamic
初始化日志,处理本地存储日志
v(dynamic message) → void
w(dynamic message) → void
writeFile(dynamic message) → void
wtf(dynamic message) → void