次の方法で共有


LoggingLevelSettings Class

Definition

Represents the settings for live configuration of a log stream.

public ref class LoggingLevelSettings : IComparable<Microsoft::VisualStudio::RpcContracts::Logging::LoggingLevelSettings ^>, IEquatable<Microsoft::VisualStudio::RpcContracts::Logging::LoggingLevelSettings ^>
[System.Diagnostics.DebuggerDisplay("{DebuggerDisplay,nq}")]
[System.Runtime.Serialization.DataContract]
public class LoggingLevelSettings : IComparable<Microsoft.VisualStudio.RpcContracts.Logging.LoggingLevelSettings>, IEquatable<Microsoft.VisualStudio.RpcContracts.Logging.LoggingLevelSettings>
[<System.Diagnostics.DebuggerDisplay("{DebuggerDisplay,nq}")>]
[<System.Runtime.Serialization.DataContract>]
type LoggingLevelSettings = class
    interface IEquatable<LoggingLevelSettings>
    interface IComparable<LoggingLevelSettings>
Public Class LoggingLevelSettings
Implements IComparable(Of LoggingLevelSettings), IEquatable(Of LoggingLevelSettings)
Inheritance
LoggingLevelSettings
Attributes
Implements

Constructors

LoggingLevelSettings(SourceLevels)

Initializes a new instance of the LoggingLevelSettings class with all fields specified.

Properties

LoggingVerbosity

Gets the desired logging verbosity level that should be recorded. Level is inclusive of all higher (more severe) logging levels. View documentation on SourceLevels for more information.

Methods

CompareTo(LoggingLevelSettings)

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

Equals(LoggingLevelSettings)

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

Equals(Object)
GetHashCode()

Serves as the default hash function.

Operators

Equality(LoggingLevelSettings, LoggingLevelSettings)

Operator override for ==.

GreaterThan(LoggingLevelSettings, LoggingLevelSettings)

Tests if left > right. Specifically, if some settings in the left operand are greater in logging verbosity than the right operand.

GreaterThanOrEqual(LoggingLevelSettings, LoggingLevelSettings)

Tests if left >= right. Specifically, if all settings in the left operand are equal to or greater in logging verbosity than the right operand.

Inequality(LoggingLevelSettings, LoggingLevelSettings)

Operator override for !=.

LessThan(LoggingLevelSettings, LoggingLevelSettings)

Tests if left < right. Specifically, if some settings in the right operand are greater in logging verbosity than the left operand.

LessThanOrEqual(LoggingLevelSettings, LoggingLevelSettings)

Tests if left <= right. Specifically, if all settings in the right operand are equal to or greater in logging verbosity than the left operand.

Extension Methods

ClampRange(LoggingLevelSettings, LoggingLevelSettings, LoggingLevelSettings)

Applies to