serilog-contrib / SerilogSinksInMemory

In-memory sink for Serilog to use for testing
MIT License
53 stars 7 forks source link

Allow more default sink parameters #9

Closed Lokdei closed 3 years ago

Lokdei commented 4 years ago

Hi

This PR allows to add sink parameters

And 1 test to check if the restrictedToMinimumLevel works as expected.

Would you please give feedback upon this and consider merging it ?

The tests all pass.

sandermvanvliet commented 4 years ago

Hi @lokdei thanks for your PR! I’ll give this a look over the weekend

Lokdei commented 3 years ago

Hey

I added a section in the Readme: "Creating a logger" with setup parameter examples.

I also removed the unused formatter from the constructor and GetInstance() call.

sandermvanvliet commented 3 years ago

@Lokdei version 0.5.0 has been pushed to NuGet and should be visible shortly