LogType enum
Specifies the overall formatting strategy used for log output.
Different LogTypes determine how verbose, styled, or structured the logs are.
Values
- FLAT → const LogType
-
Basic flat log format with minimal styling.
- FLAT_STRUCTURED → const LogType
-
Flat layout with structured key/value formatting.
- PRETTY → const LogType
-
Pretty format with boxed, styled output.
- PRETTY_STRUCTURED → const LogType
-
Pretty format with structured sections and symbols.
- PREFIX → const LogType
-
Prefix-based logs, where each line begins with a level/tag.
- FMT → const LogType
-
printf-style formatting with placeholders and patterns.
- SIMPLE → const LogType
-
Compact single-line logs suitable for CLI or minimal environments.
- HYBRID → const LogType
-
Hybrid format combining flat and pretty elements.
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
Static Methods
-
fromString(
String name) → LogType - Returns the LogType corresponding to the given name.