public sealed class LogEntrySourceLocation : IMessage<LogEntrySourceLocation>, IEquatable<LogEntrySourceLocation>, IDeepCloneable<LogEntrySourceLocation>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Logging v2 API class LogEntrySourceLocation.
Additional information about the source code location that produced the log
entry.
Optional. Human-readable name of the function or method being invoked, with
optional context such as the class or package name. This information may be
used in contexts such as the logs viewer, where a file and line number are
less meaningful. The format can vary by language. For example:
qual.if.ied.Class.method (Java), dir/package.func (Go), function
(Python).
[[["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-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eLogEntrySourceLocation\u003c/code\u003e class in the Google Cloud Logging v2 API provides detailed information about the origin of a log entry.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, offering robust functionality.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties such as \u003ccode\u003eFile\u003c/code\u003e, \u003ccode\u003eFunction\u003c/code\u003e, and \u003ccode\u003eLine\u003c/code\u003e, to pinpoint the source location within the code.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLogEntrySourceLocation\u003c/code\u003e class has been released in multiple versions, ranging from 3.3.0 to the latest 4.4.0, accessible via provided links.\u003c/p\u003e\n"]]],[],null,[]]