LogEntry class

One structured log record (what handlers receive).

Constructors

LogEntry({required String logger, required LogLevel level, required String message, Map<String, Object?> fields = const {}, required int timestamp})
const

Properties

fields → Map<String, Object?>
Structured fields (never null; empty when none).
final
hashCode → int
The hash code for this object.
no setterinherited
level → LogLevel
Severity.
final
logger → String
The logger name (dotted hierarchy, e.g. zuraffa.session).
final
message → String
The message.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timestamp → int
Epoch-ms timestamp.
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