Logger class

Constructors

Logger()

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

enable bool
设置是否控制打印
no getter
isShowFile bool
日志中是否含有文件名字,去掉了 .dart 后缀名
getter/setter pair
levelDebug int
getter/setter pair
levelError int
getter/setter pair
levelInfo int
getter/setter pair
levelVerbose int
日志级别颜色配置
getter/setter pair
levelWarn int
getter/setter pair
printer Printer
设置用户自己的打印
no getter

Static Methods

d(Object? object, {String? tag}) → void
e(Object? object, {String? tag}) → void
i(Object? object, {String? tag}) → void
isEnable() bool
获取是否打印
json(String? json, {String? tag}) → void
打印json
v(Object? object, {String? tag}) → void
w(Object? object, {String? tag}) → void