LogSource enum

日志来源,标识条目由哪个拦截器 / 通道产生。

Inheritance
Available extensions

Values

debugPrint → const LogSource

来自 Flutter debugPrint。

console → const LogSource

控制台输出。

file → const LogSource

文件日志。

exception → const LogSource

异常日志(FlutterError / Dart zone)。

network → const LogSource

网络日志。

custom → const LogSource

自定义日志(业务方手动收集)。

route → const LogSource

路由日志(RouteLogObserver 路由打点)。

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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

Constants

values → const List<LogSource>
A constant List of the values in this enum, in order of their declaration.