LogVerbosity enum

How much of the log reaches the terminal.

Chosen once from the global flags. The log file is unaffected: it always records every message, which is what makes --silent safe to use in CI - nothing is printed, but the full trail is still on disk.

Inheritance
Available extensions

Values

silent → const LogVerbosity

Print nothing at all; the exit code is the only signal.

const LogVerbosity(0)
quiet → const LogVerbosity

Print failures only.

const LogVerbosity(1)
normal → const LogVerbosity

Print failures, warnings and progress. The default.

const LogVerbosity(2)
verbose → const LogVerbosity

Also print diagnostic detail and the raw output of child processes.

const LogVerbosity(3)

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
rank int
Ordering rank; higher means more output.
final
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

fromFlags({bool silent = false, bool quiet = false, bool verbose = false}) LogVerbosity
Resolves the verbosity implied by the global flags.

Constants

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