LogColor enum

Colors for debug logging output.

Provides color coding for different types of log messages to improve readability during debugging:

  • reset - Reset color to default
  • black - Black text
  • red - Red text (typically for errors)
  • green - Green text (typically for success)
  • yellow - Yellow text (typically for warnings)
  • blue - Blue text (typically for info)
  • magenta - Magenta text
  • cyan - Cyan text
  • white - White text
  • orange - Orange text (typically for highlights)
Inheritance
Available extensions

Values

reset → const LogColor

Reset color to terminal default

black → const LogColor

Black text color

red → const LogColor

Red text color (typically for errors)

green → const LogColor

Green text color (typically for success)

yellow → const LogColor

Yellow text color (typically for warnings)

blue → const LogColor

Blue text color (typically for info)

magenta → const LogColor

Magenta text color

cyan → const LogColor

Cyan text color

white → const LogColor

White text color

orange → const LogColor

Orange text color (typically for highlights)

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