Share via


LogId Struct

Definition

Class representing the fully-qualified id of a given log stream and all information that can be used to identify the log.

public value class LogId : IEquatable<Microsoft::VisualStudio::RpcContracts::Logging::LogId>
[System.Diagnostics.DebuggerDisplay("{DebuggerDisplay,nq}")]
[System.Runtime.Serialization.DataContract]
public struct LogId : IEquatable<Microsoft.VisualStudio.RpcContracts.Logging.LogId>
[<System.Diagnostics.DebuggerDisplay("{DebuggerDisplay,nq}")>]
[<System.Runtime.Serialization.DataContract>]
type LogId = struct
Public Structure LogId
Implements IEquatable(Of LogId)
Inheritance
LogId
Attributes
Implements

Constructors

Name Description
LogId(String, ServiceMoniker)

Initializes a new instance of the LogId struct.

Properties

Name Description
LogName

Gets the fully-qualified name of the given log stream.

ServiceId

Gets the ServiceMoniker of the service that is emitting this log stream.

Methods

Name Description
Equals(LogId)

Indicates whether the current object is equal to another object of the same type.

Equals(Object)

Indicates whether this instance and a specified object are equal.

GetHashCode()

Returns the hash code for this instance.

ToString()

Returns the fully qualified type name of this instance.

Operators

Name Description
Equality(LogId, LogId)

Equality comparison operator.

Inequality(LogId, LogId)

Inequality comparison operator.

Applies to