LogEntryDto
constructor(deviceId: String, message: String, severity: LogSeverityEnumDto, userId: String? = null, timestamp: OffsetDateTime? = null, stacktrace: String? = null, resource: String? = null, operation: String? = null, labels: MutableList<String>? = null, metadata: MutableMap<String, String>? = null)
Parameters
deviceId
A unique identifier for the device triggering the event.
message
Message from a log. Should describe the entry briefly and concisely.
severity
userId
A unique identifier for the user triggering the event.
timestamp
Timestamp for the log entry. If no entry is set, the server will set the current time.
stacktrace
Includes a stack trace if an error occurs.
resource
Describes the resource in which the error occurred.
operation
Indicates the operation currently being performed to determine more precisely in which part of the code the logging was triggered.
labels
Can contain a list of labels that can be used to tag the log entry for later search and thus also grouping.
metadata
Key/Value list for extended logging data / metadata.