WLog class

打印集合

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 Methods

allLog2File([String? filePath, List<WLogLevel> levelList = WLogLevel.values]) Future<String>
导出所有日志到文件
applyConfig(WLogConfig config) → void
适用配置
d(String message, {DateTime? now, Frame? frame}) → void
打印d
debugPrint(String? message, {int? wrapWidth}) → void
打印
e(String message, {DateTime? now, Frame? frame}) → void
打印e
getDefaultConfig() WLogConfig
默认配置
i(String message, {DateTime? now, Frame? frame}) → void
打印i
log2File(String logFilePath, [DateTime? startTime, DateTime? endTime, List<WLogLevel>? levelList]) Future<void>
导出自定义筛选日志到文件
print(Object? object) → void
打印
timeLog2File(DateTime startTime, [DateTime? endTime, String? filePath, List<WLogLevel> levelList = WLogLevel.values]) Future<String>
导出时间段日志到文件
todayLog2File([String? filePath, List<WLogLevel> levelList = WLogLevel.values]) Future<String>
导出今天日志到文件
w(String message, {DateTime? now, Frame? frame}) → void
打印w