LogMode enum

Controls how a logger (global or scoped) handles log calls.

The three states are mutually exclusive:

  • enabled — normal behavior: delegates fire, printer output is produced.
  • silent — the crash reporting delegate still fires, but printer output is suppressed. Use for noisy modules whose errors should still be reported.
  • disabled — complete no-op. Nothing fires, nothing is printed.
Inheritance
Available extensions

Values

enabled → const LogMode

Normal logging. Delegates fire and printer output is produced.

silent → const LogMode

Delegates fire but printer output is suppressed.

disabled → const LogMode

Complete no-op. Nothing fires, nothing is printed.

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<LogMode>
A constant List of the values in this enum, in order of their declaration.