Skip to content

[FEATURE] 📜 Add WithoutLogger() method to Builder #139

@jodydonetti

Description

@jodydonetti

Problem

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions