AppLogger class
管理logger日志输出,包括定时删除已过期日志,配置输出日志等
Constructors
- AppLogger.new()
-
factory
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
-
debug(
dynamic msg) → void -
debugR(
dynamic msg) → void -
error(
dynamic msg) → void -
info(
dynamic msg) → void -
log(
String tag, String msg) → void - 打印日志
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
warn(
dynamic msg) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
get(
) → AppLogger -
getAndroidSdkInt(
) → Future< int> - 获取当前android设备信息
-
requestStoragePermission(
) → Future< bool> - 请求存储权限