logo
logo

Class DiagnosticsClient

Contains functionality to get diagnostics, debug information and warnings from the SDK and its internals.

Inheritance
System.Object
DiagnosticsClient
Namespace: Stylelabs.M.Sdk.WebClient.Diagnostics
Assembly: Stylelabs.M.Sdk.WebClient.dll
Syntax
public static class DiagnosticsClient : object

Properties

HttpLogging

Gets or sets how detailed HTTP requests and responses should be logged. This will be logged at level.

Declaration
public static HttpLogging HttpLogging { get; set; }
Property Value
Type Description
HttpLogging
Remarks

Defaults to Minimal.

LogCaching

Gets or sets whether caching need to be logged. This will be logged at level.

Declaration
public static bool LogCaching { get; set; }
Property Value
Type Description
System.Boolean
Remarks

Defaults to true.

Logger

Declaration
public static ILogger Logger { get; set; }
Property Value
Type Description
ILogger

LogResilience

Gets or sets whether resilience related actions need to be logged (retries, timeouts, throttling...). This will be logged at level.

Declaration
public static bool LogResilience { get; set; }
Property Value
Type Description
System.Boolean
Remarks

Defaults to true.

LogWarnings

Gets or sets whether warnings should be logged. This will be logged at level.

Declaration
public static bool LogWarnings { get; set; }
Property Value
Type Description
System.Boolean
Remarks

Defaults to true.

Can we improve this article ? Provide feedback