How to configure the built-in .NET Core 3.1 Logging to log to a new file per message

前端 未结 0 609
孤街浪徒
孤街浪徒 2021-02-03 21:02

I have 2 requirements in my app:

  1. If there is an exception, log to an app.log file, one file per day, using the format app-{Date}.log => that\'s e

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