LogRecordEntry class
An immutable log record captured by LogWatcher.
Constructors
- LogRecordEntry({required String level, required int levelValue, required String message, required String loggerName, required DateTime time, String? error, String? stackTrace, int? atUs})
- LogRecordEntry.fromLogRecord(LogRecord r)
-
factory
Properties
- atUs → int
-
Monotonic microsecond timestamp from
FlutterTimeline.now, captured at construction unless the caller supplies one explicitly. The same clock asEventRecord.atUs, so a log line orders against an event whatever the wall-clock skew; time stays the wall-clock field for display.final - error → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- level → String
-
final
- levelValue → int
-
final
- loggerName → String
-
final
- message → String
-
final
- redacted → bool
-
True when TelescopeRedaction.redactor ran over this record before it
was buffered: only the store's redaction pass sets it, so a record a
caller constructs is always false. A record made while no redactor was
registered is false too, and a consumer that persists records (a file
sink) writes only the true ones.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → String?
-
final
- time → DateTime
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited