LogEntry class

A single log entry

Constructors

LogEntry({required DateTime timestamp, required LogLevel level, required String message, String? source, dynamic data})

Properties

data → dynamic
final
hashCode → int
The hash code for this object.
no setterinherited
level → LogLevel
final
levelIcon → String
no setter
levelName → String
no setter
message → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → String?
final
timestamp → DateTime
final
timeString → String
Gets the formatted time string for the log entry.
no setter

Methods

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.
inherited