LogLevel enum

Log level enum.

Inheritance
Available extensions

Values

verbose → const LogLevel

Verbose - yellow

debug → const LogLevel

Debug - cyan.

info → const LogLevel

Info - green.

warning → const LogLevel

Warning -- yellow.

error → const LogLevel

Error - red.

unknown → const LogLevel

Standart text print - white.

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

getColorPen() → AnsiPen

Available on LogLevel, provided by the Convert extension

  • Info: Get ANSI XTERM-256 color from log type.
  • Params: this
  • Returns: AnsiPen.
  • Notes: https://www.ditig.com/256-colors-cheat-sheet
  • getPriorityTypeFromInt(int value) LogLevel

    Available on LogLevel, provided by the Convert extension

  • Info:Get enum with int id.
  • Params: value is id of enum.
  • Returns: Loglevel.
  • Notes:
  • getPriorityTypeFromString(String value) LogLevel

    Available on LogLevel, provided by the Convert extension

  • Info:Get enum type from String.
  • Params: value is name of enum.
  • Returns: Loglevel.
  • Notes:
  • getStringFromPriorityType() String

    Available on LogLevel, provided by the Convert extension

  • Info:Get name from LogLevel enum.
  • Params: this
  • Returns: String.
  • Notes:
  • 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<LogLevel>
    A constant List of the values in this enum, in order of their declaration.