Mock the logger of NLog and read logged message

后端 未结 0 1126
借酒劲吻你
借酒劲吻你 2021-02-02 14:20

Im using NLog 4.5.11 for logging and moq 4.10.1 for mocking.

I have a middleware which writes exception details to the log file using NLog.

I need to unit test mid

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