LogEvent class
Describes a single log event.
Similar to package:logger.
Constructors
- LogEvent({required LogLevel level, required dynamic message, dynamic error, StackTrace? stackTrace, DateTime? time})
- Creates a new log event.
Properties
- error → dynamic
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- level → LogLevel
-
final
- levelColor → MaterialColor
-
no setter
- message → dynamic
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace?
-
final
- time → DateTime
-
final
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
-
getLevelColor(
LogLevel level) → MaterialColor