LogEntry class
An immutable record of a single console log, displayed in the Console tab.
- Implemented types
- Available extensions
- Annotations
Constructors
Properties
- activeRoute → String?
-
The active route at the time the log was recorded.
final
-
data
→ Map<
String, dynamic> ? -
Optional structured payload attached to the log.
final
- displayTime → String
-
Available on TimestampedEntry, provided by the TimestampedEntryDisplay extension
no setter - hashCode → int
-
The hash code for this object.
no setteroverride
- level → LogLevel
-
Severity of the log.
final
- message → String
-
The log message body.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → String?
-
Optional stack trace captured alongside the message.
final
- timestamp → DateTime
-
When the log was recorded.
final
Methods
-
copyWith(
{DateTime? timestamp, LogLevel? level, String? message, String? stackTrace, Map< String, dynamic> ? data, String? activeRoute}) → LogEntry - Returns a copy of this entry with the given fields replaced.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override