Closed alexandries98 closed 1 year ago
Currently this is not supported because the Serilog configuration library doesn’t know how to deal with an array of instances. Or, at least not in this form.
I’ve started some investigation as this topic has come up three times by three different people in the last two weeks 😅
Oh, alright! Many thanks. Have a great day! 😄
Release 1.7.1 now supports this. Have a look at the README on how to configure.
Hello,
I made a custom masking operator that is working via code configuration, but for some reason it can not be seen from the appsettings.json.
This is the custom masking operator.
This is how I am using it in code and it works as expected.
But, when it comes to use it from the appsetings, things just don't work and I don't know what I am doing wrong.
The assembly name where my custom masking operator is defined is
API
and I am including it inUsing
. Am I doing things wrong inMaskingOperators
or in any other part, or it is simply not possible to achieve this behavior?Thank you!