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 and implements several interfaces for message handling, equality checks, and deep cloning.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this documentation is version 2.4.0, with other previous versions also linked on the page, down to version 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eLogEntrySourceLocation\u003c/code\u003e has properties for \u003ccode\u003eFile\u003c/code\u003e, \u003ccode\u003eFunction\u003c/code\u003e, and \u003ccode\u003eLine\u003c/code\u003e, allowing you to specify the source file name, the function name, and the line number, respectively, providing context to log entries.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from the base Object class and provides constructors for creating instances, including one that takes another \u003ccode\u003eLogEntrySourceLocation\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLogEntrySourceLocation\u003c/code\u003e Class is part of the Google.Cloud.ServiceControl.V1 namespace and located in the Google.Cloud.ServiceControl.V1.dll assembly.\u003c/p\u003e\n"]]],[],null,[]]