-
Notifications
You must be signed in to change notification settings - Fork 842
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
Redesign/remove IOperationLogger #115
Comments
Perhaps if there's |
We should avoid this pattern in general. |
What about a Or do we just give up on the idea of having a helper for logging the start and end of an operation and have everyone do it manually? |
It should be explicit.
I'd prefer that. The issue with callbacks are the ones we all hate:
|
@MihaZupan this directly relates to your diagnostics work this milestone, I'll assign it to you for tracking. |
reverse-proxy/src/ReverseProxy.Core/Middleware/LoadBalancingMiddleware.cs
Lines 47 to 49 in 00c4e7c
Using the IOperationLogger allocates a closure per call per request. We need to re-think how to write these start/stop/failed logs.
The text was updated successfully, but these errors were encountered: