LoggerOptions class
Constructors
- LoggerOptions({LogStyle trace = const LogStyle(), LogStyle info = const LogStyle(textColor: textColorGreen), LogStyle warn = const LogStyle(textColor: textColorMagenta), LogStyle error = const LogStyle(textColor: textColorRed, attr: Attribute.reverse), LogStyle debug = const LogStyle(), LogStyle module = const LogStyle(textColor: textColorCyan), LogStyle service = const LogStyle(textColor: textColorCyan), LogStyle date = const LogStyle(attr: Attribute.dim), bool enableAnsi = true})
-
const
Properties
- date → LogStyle
-
final
- debug → LogStyle
-
final
- enableAnsi → bool
-
final
- error → LogStyle
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- info → LogStyle
-
final
- module → LogStyle
-
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- service → LogStyle
-
final
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setter - trace → LogStyle
-
final
- warn → LogStyle
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toLevelMap(
) → Map< Level, LogStyle> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited