LogRecord class Null safety
Constructors
- LogRecord({InstanceRef? message, int? time, int? level, int? sequenceNumber, InstanceRef? loggerName, InstanceRef? zone, InstanceRef? error, InstanceRef? stackTrace})
Properties
- error ↔ InstanceRef?
-
An error object associated with this log event.
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
-
json
↔ Map<
String, dynamic> ? -
read / writeinherited
- level ↔ int?
-
The severity level (a value between 0 and 2000).
read / write
- loggerName ↔ InstanceRef?
-
The name of the source of the log message.
read / write
- message ↔ InstanceRef?
-
The log message.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- sequenceNumber ↔ int?
-
A monotonically increasing sequence number.
read / write
- stackTrace ↔ InstanceRef?
-
A stack trace associated with this log event.
read / write
- time ↔ int?
-
The timestamp.
read / write
- type → String
-
read-onlyoverride
- zone ↔ InstanceRef?
-
The zone where the log was emitted.
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited