Class LoggingConfig
Settings for logging in the SDK.
public class LoggingConfig
- Inheritance
-
LoggingConfig
- Inherited Members
Fields
DefaultLogResponsesSizeLimit
public static readonly int DefaultLogResponsesSizeLimit
Field Value
Properties
LogMetrics
Whether or not to log SDK metrics.
public bool LogMetrics { get; set; }
Property Value
LogMetricsCustomFormatter
A custom formatter added through Configuration
public IMetricsFormatter LogMetricsCustomFormatter { get; set; }
Property Value
LogMetricsFormat
public LogMetricsFormatOption LogMetricsFormat { get; set; }
Property Value
LogResponses
When to log responses.
public ResponseLoggingOption LogResponses { get; set; }
Property Value
LogResponsesSizeLimit
Gets or sets the size limit in bytes for logged responses. If logging for response body is enabled, logged response body is limited to this size. The default limit is 1KB.
public int LogResponsesSizeLimit { get; set; }
Property Value
LogTo
Logging destination.
public LoggingOptions LogTo { get; set; }