TokenCredentialDiagnosticsOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Exposes client options related to logging, telemetry, and distributed tracing.
public class TokenCredentialDiagnosticsOptions : Azure.Core.DiagnosticsOptions
type TokenCredentialDiagnosticsOptions = class
inherit DiagnosticsOptions
Public Class TokenCredentialDiagnosticsOptions
Inherits DiagnosticsOptions
- Inheritance
Constructors
TokenCredentialDiagnosticsOptions() |
Properties
ApplicationId |
Gets or sets the value sent as the first part of "User-Agent" headers for all requests issues by this client. Defaults to DefaultApplicationId. (Inherited from DiagnosticsOptions) |
IsAccountIdentifierLoggingEnabled |
If
|
IsDistributedTracingEnabled |
Gets or sets value indicating whether distributed tracing activities (Activity) are going to be created for the clients methods calls and HTTP calls. (Inherited from DiagnosticsOptions) |
IsLoggingContentEnabled |
Gets or sets value indicating if request or response content should be logged. (Inherited from DiagnosticsOptions) |
IsLoggingEnabled |
Get or sets value indicating whether HTTP pipeline logging is enabled. (Inherited from DiagnosticsOptions) |
IsTelemetryEnabled |
Gets or sets value indicating whether the "User-Agent" header containing ApplicationId, client library package name and version, FrameworkDescription
and OSDescription should be sent.
The default value can be controlled process wide by setting |
LoggedContentSizeLimit |
Gets or sets value indicating maximum size of content to log in bytes. Defaults to 4096. (Inherited from DiagnosticsOptions) |
LoggedHeaderNames |
Gets a list of header names that are not redacted during logging. (Inherited from DiagnosticsOptions) |
LoggedQueryParameters |
Gets a list of query parameter names that are not redacted during logging. (Inherited from DiagnosticsOptions) |
Applies to
Azure SDK for .NET