public sealed class LogEntrySourceLocation : IMessage<LogEntrySourceLocation>, IEquatable<LogEntrySourceLocation>, IDeepCloneable<LogEntrySourceLocation>, IBufferMessage, IMessage
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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eLogEntrySourceLocation\u003c/code\u003e class provides information about the source code location that produced a log entry in version 3.4.0 of the Google.Cloud.Logging.V2 library.\u003c/p\u003e\n"],["\u003cp\u003eIt implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, facilitating its use within the Google Cloud .NET environment.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors: a default constructor and one that accepts another \u003ccode\u003eLogEntrySourceLocation\u003c/code\u003e instance for copying data.\u003c/p\u003e\n"],["\u003cp\u003eIt contains properties to specify the source \u003ccode\u003eFile\u003c/code\u003e, \u003ccode\u003eFunction\u003c/code\u003e, and \u003ccode\u003eLine\u003c/code\u003e of the code that generated the log entry, allowing for detailed identification of the log's origin.\u003c/p\u003e\n"],["\u003cp\u003eThe webpage shows the different versions of the \u003ccode\u003eLogEntrySourceLocation\u003c/code\u003e, with 4.4.0 being the latest version, and provides links to the documentation of each version.\u003c/p\u003e\n"]]],[],null,[]]