LogRecord class

Inheritance

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.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
json Map<String, dynamic>?
getter/setter pairinherited
level int?
The severity level (a value between 0 and 2000).
getter/setter pair
loggerName InstanceRef?
The name of the source of the log message.
getter/setter pair
message InstanceRef?
The log message.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sequenceNumber int?
A monotonically increasing sequence number.
getter/setter pair
stackTrace InstanceRef?
A stack trace associated with this log event.
getter/setter pair
time int?
The timestamp.
getter/setter pair
type String
no setteroverride
zone InstanceRef?
The zone where the log was emitted.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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

Static Methods

parse(Map<String, dynamic>? json) LogRecord?
override