Implement [Two-stage initialization](https://github.com/serilog/serilog-aspnetcore#two-stage-initialization) for logger