LogRecord class

The log record data

Constructors

LogRecord(String message, {String name = '', Object? error, StackTrace? stackTrace, Zone? zone})
Creates the LogRecord that uses given parameters.

Properties

error Object?
An error object associated with this log event.
final
hashCode int
The hash code for this object.
no setterinherited
message String
The log message
final
name String
The name of the source of the log message
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sequenceNumber int
A monotonically increasing sequence number.
final
stackTrace StackTrace?
A stack trace associated with this log event
final
time DateTime
The time when this record was created.
final
zone Zone?
The zone where the log was emitted.
final

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