LogRecord class Null safety
Constructors
- LogRecord({required InstanceRef? message, required int? time, required int? level, required int? sequenceNumber, required InstanceRef? loggerName, required InstanceRef? zone, required InstanceRef? error, required InstanceRef? stackTrace})
Properties
- error ↔ InstanceRef?
-
An error object associated with this log event.
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
-
json
↔ Map<
String, dynamic> ? -
read / write, inherited
- 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-only, inherited
- 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-only, override
- 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