logger.LogEntry interface

LogEntry represents a [structured Cloud Logging](https://cloud.google.com/logging/docs/structured-logging) entry. All keys aside fromseverity andmessage are included in thejsonPayload of the logged entry.

Signature:

exportinterfaceLogEntry

Properties

PropertyTypeDescription
messagestring
severityLogSeverity

logger.LogEntry.message

Signature:

message?:string;

logger.LogEntry.severity

Signature:

severity:LogSeverity;

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2023-04-24 UTC.