Returns a unique ID for the log entry. The Logging service considers other log entries in the
same log with the same ID as duplicates which can be removed.
Returns the name of the log to which this log entry belongs. The log name must be less than 512
characters long and can only include the following characters: upper and lower case
alphanumeric characters: [A-Za-z0-9]; and punctuation characters: _-./. The
forward-slash (/) characters in the log name must be URL-encoded. Examples:
syslog, library.googleapis.com%2Fbook_log.
Returns the monitored resource associated with this log entry. Example: a log entry that
reports a database error would be associated with the monitored resource designating the
particular database that reported the error.
Returns
Type
Description
com.google.cloud.MonitoredResource
getSeverity()
publicSeveritygetSeverity()
Returns the severity of the log entry. If not set, Severity#DEFAULT is used.
Returns the resource name of the trace associated with the log entry, if any. If it contains a
relative resource name, the name is assumed to be relative to //tracing.googleapis.com.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]