-
Notifications
You must be signed in to change notification settings - Fork 25.1k
Restore missing code example #35880
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restore missing code example #35880
Changes from 2 commits
36234e9
cf4e005
a16f89b
9e880c6
55b8fb5
11b5832
a42b091
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| // <snippet7> | ||
| // <snippet4> | ||
|
||
| var builder = WebApplication.CreateBuilder(args); | ||
|
|
||
| builder.Services.AddHttpLogging(logging => | ||
| { | ||
| logging.LoggingFields = HttpLoggingFields.Duration; | ||
| }); | ||
| builder.Services.AddHttpLoggingInterceptor<SampleHttpLoggingInterceptor>(); | ||
|
||
| // </snippet4> | ||
| builder.Services.AddRedaction(); | ||
| builder.Services.AddHttpLoggingRedaction(op => { }); | ||
| // </snippet7> | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
highlight seems to be wrong?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Highlight fixed