How do I add Serilog to a service collection for my unit test

后端 未结 0 1155
刺人心
刺人心 2020-12-05 11:19

In our .Net Core 3.1 project we log using Serilog

In the set-up of my test I create a ServiceCollection so I can new up my classes I use in the tests using a service

相关标签:
回答
  • 消灭零回复
提交回复
热议问题