interface LogRecord {
    attributes?: AnyValueMap;
    body?: AnyValue;
    context?: Context;
    observedTimestamp?: TimeInput;
    severityNumber?: SeverityNumber;
    severityText?: string;
    timestamp?: TimeInput;
}

Properties

attributes?: AnyValueMap

Attributes that define the log record.

body?: AnyValue

A value containing the body of the log record.

context?: Context

The Context associated with the LogRecord.

observedTimestamp?: TimeInput

Time when the event was observed by the collection system.

severityNumber?: SeverityNumber

Numerical value of the severity.

severityText?: string

The severity text.

timestamp?: TimeInput

The time when the log record occurred as UNIX Epoch time in nanoseconds.