LogFilter enum Null safety

输出日志过滤分级。

Constants

Critical → const LogFilter

仅输出 CRITICAL 级别的日志。

@JsonValue(0x0008)
const LogFilter(5)
Debug → const LogFilter

输出所有的 API 日志。如果你想获取最完整的日志,可以将日志级别设为该等级。

@JsonValue(0x080f)
const LogFilter(1)
Error → const LogFilter

仅输出 CRITICAL、ERROR 级别的日志。

@JsonValue(0x000c)
const LogFilter(4)
Info → const LogFilter

输出 CRITICAL、ERROR、WARNING、INFO 级别的日志。我们推荐你将日志级别设为该等级。

@JsonValue(0x000f)
const LogFilter(2)
Off → const LogFilter

不输出任何日志。

@JsonValue(0)
const LogFilter(0)
values → const List<LogFilter>

A constant List of the values in this enum, in order of their declaration.

const List<LogFilter>
Warning → const LogFilter

仅输出 CRITICAL、ERROR、WARNING 级别的日志。

@JsonValue(0x000e)
const LogFilter(3)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited