Class DiagnosticsClient
Contains functionality to get diagnostics, debug information and warnings from the SDK and its internals.
Inheritance
Namespace: StylelabsStylelabs.MSdkWebClientDiagnostics
Assembly: Stylelabs.M.Sdk.WebClient.dll
Syntax
Properties
HttpLogging
Gets or sets how detailed HTTP requests and responses should be logged. This will be logged at level.
Declaration
Property Value
| Type | Description |
|---|---|
| HttpLogging |
Remarks
Defaults to .
LogCaching
Gets or sets a value indicating whether caching need to be logged. This will be logged at level.
Declaration
Property Value
| Type | Description |
|---|---|
| bool |
Remarks
Defaults to true.
Logger
Gets or sets the logger.
Declaration
Property Value
| Type | Description |
|---|---|
| ILogger |
LogResilience
Gets or sets a value indicating whether resilience related actions need to be logged (retries, timeouts, throttling...). This will be logged at level.
Declaration
Property Value
| Type | Description |
|---|---|
| bool |
Remarks
Defaults to true.
LogWarnings
Gets or sets a value indicating whether warnings should be logged. This will be logged at level.
Declaration
Property Value
| Type | Description |
|---|---|
| bool |
Remarks
Defaults to true.