You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As pointed out in a community discussion, it would be nice to have a WithoutLogger() method available for the builder, so to disable logging completely.
The default behavior is to use the one registered in the DI container, if any.
Solution
Add a new WithoutLogger() method that does noy use any logger at all.
Alternatives
It is possible to use WithLogger(NullLogger<FusionCache>.Instance) but, although technically correct, that feels cumbersome.