TransactionProcessing / Shared

0 stars 0 forks source link

Request/Response Middleware Tracing improvements #279

Closed StuartFerguson closed 4 months ago

StuartFerguson commented 4 months ago

Add in a configuration class public record RequestResponseMiddlewareLoggingConfig(LogLevel LoggingLevel, Boolean LogRequests, Boolean LogResponses);

Use this in the middleware classes to determine what should be written and what trace level.