LogEntry class
A single log entry.
Constructors
Properties
- formattedTimestamp → String
-
Get a formatted string representation for display.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- level → LogLevel
-
The log level.
final
- message → String
-
The log message.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tag → String?
-
Optional tag for the log.
final
- timestamp → DateTime
-
The timestamp when the log was created.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String - Convert the log entry to a JSON string.
-
toMap(
) → Map< String, dynamic> - Convert the log entry to a map.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited