LogEntry class

An individual log entry.

Constructors

LogEntry({HttpRequest? httpRequest, String? insertId, Map<String, String>? labels, String? name, LogEntryOperation? operation, Map<String, Object?>? protoPayload, String? severity, LogEntrySourceLocation? sourceLocation, Map<String, Object?>? structPayload, String? textPayload, String? timestamp, String? trace})
LogEntry.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
httpRequest HttpRequest?
Information about the HTTP request associated with this log entry, if applicable.
getter/setter pair
insertId String?
A unique ID for the log entry used for deduplication.
getter/setter pair
labels Map<String, String>?
A set of user-defined (key, value) data that provides additional information about the log entry.
getter/setter pair
name String?
The log to which this log entry belongs.
getter/setter pair
operation LogEntryOperation?
Information about an operation associated with the log entry, if applicable.
getter/setter pair
protoPayload Map<String, Object?>?
The log entry payload, represented as a protocol buffer that is expressed as a JSON object.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
severity String?
The severity of the log entry.
getter/setter pair
sourceLocation LogEntrySourceLocation?
Source code location information associated with the log entry, if any.
getter/setter pair
structPayload Map<String, Object?>?
The log entry payload, represented as a structure that is expressed as a JSON object.
getter/setter pair
textPayload String?
The log entry payload, represented as a Unicode string (UTF-8).
getter/setter pair
timestamp String?
The time the event described by the log entry occurred.
getter/setter pair
trace String?
Resource name of the trace associated with the log entry, if any.
getter/setter pair

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