Skip to content
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

Add a logging extension #150

Open
Turnerj opened this issue Mar 2, 2021 · 2 comments
Open

Add a logging extension #150

Turnerj opened this issue Mar 2, 2021 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@Turnerj
Copy link
Member

Turnerj commented Mar 2, 2021

Add a basic logging extension that makes it easier to see the inner workings of the caching system to help debug issues.

In may prove useful to think about how this works and implementing something similar: https://docs.microsoft.com/en-us/aspnet/core/fundamentals/logging/loggermessage?view=aspnetcore-5.0

@Turnerj
Copy link
Member Author

Turnerj commented Nov 8, 2021

Just found out about using source generators to make efficient log messages: https://andrewlock.net/exploring-dotnet-6-part-8-improving-logging-performance-with-source-generators/

If I can do that with the .NET 6 SDK but still target older frameworks, I think it might be the way forward for landing advanced logging to Cache Tower.

@Turnerj
Copy link
Member Author

Turnerj commented Oct 29, 2022

Either in addition to this or alternatively to it, having support for EventSource/EventListener could be useful.

@Turnerj Turnerj added this to the v1.0 milestone Oct 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant