MXLogger class
Methods
-
debug(Object? message, {String? name, String? tag})
→ void
-
-
error(Object? message, {String? name, String? tag})
→ void
-
-
fatal(Object? message, {String? name, String? tag})
→ void
-
-
info(Object? message, {String? name, String? tag})
→ void
-
-
init({String nameSpace = 'flutter.mxlogger', MXStoragePolicyType storagePolicy = mx.MXStoragePolicyType.yyyy_MM_dd_HH, String cryptKey = 'abcuioqbsdguijlk', String iv = 'bccuioqbsdguijiv', int? maxDiskAgeSeconds, int? maxDiskSizeBytes, int? fileLevel, int maxPendingLogs = 200})
→ Future<MXLogger>
-
初始化(建议 App 启动时调用一次)。
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
warn(Object? message, {String? name, String? tag})
→ void
-
Static Properties
-
instance
→ MXLogger
-
对外单例(注意:本类是业务侧封装;插件类使用
mx.MXLogger)。
final