Interface LogEntry

Source
interface LogEntry {
    context?: string;
    labels?: LogLabels;
    message: string;
    payload?: LogPayload;
    severity: LogLevel;
    timestamp: LogTimestamp;
}

Properties§

Source§

context?: string

The context of the log entry.

Source§

labels?: LogLabels

A map of key-value pairs that provides additional context to a log entry.

Source§

message: string

The log message.

Source§

payload?: LogPayload

A map of key-value pairs that provides additional data to be logged.

Source§

severity: LogLevel

The severity level of the log entry.

Source§

timestamp: LogTimestamp

The timestamp of the log entry.