System.ClientModel.Primitives.ClientLoggingOptions
Exposes client options for logging within a ClientPipeline.
Gets or sets a list of header names that are not redacted during logging.
Gets or sets a list of query parameter names that are not redacted during logging.
Gets or sets value indicating if logging should be enabled in this client pipeline.
Gets or sets value indicating if request and response content should be logged.
Gets or sets value indicating if request and response uri and header information should be logged.
Gets or sets the implementation of ILoggerFactory to use to
create ILogger instances for logging.
Gets or sets value indicating maximum size of content to log in bytes.
public ClientLoggingOptions()
Assert that Freeze has not been called on this
ClientLoggingOptions instance.
Freeze this instance of ClientLoggingOptions. After this method
has been called, any attempt to set properties on the instance or call
methods that would change its state will throw InvalidOperationException.