LogLevel class
Which log level to write with, from LogLevel.trace (most noisy) to LogLevel.fatal (least noisy)
Constructors
- LogLevel({required String name, required int ordinal})
- LogLevel.fromJson(dynamic json)
-
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- debug ↔ LogLevel
-
For small messages useful for debugging
getter/setter pair
- error ↔ LogLevel
-
Messages for things that failed, but not in a way that brings the system down
getter/setter pair
- fatal ↔ LogLevel
-
Messages documenting things that should stop the system completely
getter/setter pair
- info ↔ LogLevel
-
General purpose messages with no specific urgency
getter/setter pair
- maxLevel → LogLevel
-
no setter
- minLevel → LogLevel
-
no setter
- off ↔ LogLevel
-
getter/setter pair
- trace ↔ LogLevel
-
For very detailed messages. These may be produced by the thousands or more
getter/setter pair
-
values
→ List<
LogLevel> -
no setter
- warn ↔ LogLevel
-
Messages to keep an eye on, such as system faults or places that may become a problem in the future
getter/setter pair
Static Methods
-
fromOrdinal(
int i) → LogLevel? -
fromString(
String s) → LogLevel?