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
Wouldn't it be more logical to change the ordering of the arguments on the configureLogging lambda of the newly added overload to HostBuilderContext, LoggerConfiguration, IServiceProvider? That makes refactoring of code just a little easier. I can contribute a PR, but only of course if this aligns with the views of the maintainers.
The text was updated successfully, but these errors were encountered:
Thanks for the note. I spent some time thinking about this, too, and ended up concluding that LoggerConfiguration in the middle position felt arbitrary; the "logic" :-) behind the current argument ordering is (input, input, output), which might or might not make sense in this context. Open to changing it but could be a bikeshed, interested in more opinions 👍
In #20 (still in beta package) a new overload of
UseSerilog()
has been introducedin addition to the already existing (publicly released)
Wouldn't it be more logical to change the ordering of the arguments on the
configureLogging
lambda of the newly added overload toHostBuilderContext, LoggerConfiguration, IServiceProvider
? That makes refactoring of code just a little easier. I can contribute a PR, but only of course if this aligns with the views of the maintainers.The text was updated successfully, but these errors were encountered: