logger.LogEntry interface
Stay organized with collections
Save and categorize content based on your preferences.
LogEntry
represents a [structured Cloud Logging](https://cloud.google.com/logging/docs/structured-logging) entry. All keys aside from severity
and message
are included in the jsonPayload
of the logged entry.
Signature:
export interface LogEntry
Properties
logger.LogEntry.message
Signature:
message?: string;
logger.LogEntry.severity
Signature:
severity: LogSeverity;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-04-18 UTC.
[null,null,["Last updated 2023-04-18 UTC."],[],[],null,["`LogEntry` represents a \\[structured Cloud Logging\\](https://cloud.google.com/logging/docs/structured-logging) entry. All keys aside from `severity` and `message` are included in the `jsonPayload` of the logged entry.\n\n**Signature:** \n\n export interface LogEntry \n\nProperties\n\nlogger.LogEntry.message\n\n**Signature:** \n\n message?: string;\n\nlogger.LogEntry.severity\n\n**Signature:** \n\n severity: LogSeverity;"]]