LogEntry class

One log line shown in the DevTools Logs tab.

Example:

for (final entry in CorextraDevTools.instance.logs.entries) {
  print('[${entry.level.name}] ${entry.message}');
}

Constructors

LogEntry({required String message, required LogLevel level, required DateTime timestamp})
Creates a log line; debugLog and AppLogger make these for you.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
level → LogLevel
How serious it is: info, warning or error.
final
message → String
The logged text.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timestamp → DateTime
When it was logged.
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