Class ExcludeInRequestResponseLoggingOptions
Inherited Members
Namespace: Code.Library.AspNetCore .Middleware.RequestResponseLogging
Assembly: Code.Library.AspNetCore.dll
Syntax
public class ExcludeInRequestResponseLoggingOptions
Properties
| Improve this Doc View SourceHealthChecks
This will exclude logging for all endpoints with endpoint name "Health checks". This is enabled by default.
Declaration
public bool HealthChecks { get; set; }
Property Value
Type | Description |
---|---|
bool |
Paths
No logs for matching paths
Declaration
public ICollection<string> Paths { get; set; }
Property Value
Type | Description |
---|---|
ICollection<string> |
RequestBody
Request body will not be logged for matching paths
Declaration
public ICollection<string> RequestBody { get; set; }
Property Value
Type | Description |
---|---|
ICollection<string> |
ResponseBody
Response body will not be logged for matching paths
Declaration
public ICollection<string> ResponseBody { get; set; }
Property Value
Type | Description |
---|---|
ICollection<string> |