public sealed class SourceLocation : IMessage<SourceLocation>, IEquatable<SourceLocation>, IDeepCloneable<SourceLocation>, IBufferMessage, IMessage
Reference documentation and code samples for the App Engine Logging Data v1 API class SourceLocation.
Specifies a location in a source code file.
Implements
IMessage<SourceLocation>, IEquatable<SourceLocation>, IDeepCloneable<SourceLocation>, IBufferMessage, IMessageNamespace
Google.Cloud.AppEngine.Logging.V1Assembly
Google.Cloud.AppEngine.Logging.V1.dll
Constructors
SourceLocation()
public SourceLocation()
SourceLocation(SourceLocation)
public SourceLocation(SourceLocation other)
Parameter | |
---|---|
Name | Description |
other | SourceLocation |
Properties
File
public string File { get; set; }
Source file name. Depending on the runtime environment, this might be a simple name or a fully-qualified name.
Property Value | |
---|---|
Type | Description |
String |
FunctionName
public string FunctionName { get; set; }
Human-readable name of the function or method being invoked, with optional
context such as the class or package name. This information is 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).
Property Value | |
---|---|
Type | Description |
String |
Line
public long Line { get; set; }
Line within the source file.
Property Value | |
---|---|
Type | Description |
Int64 |