How to log to a file without using third party logger in .Net Core?

前端 未结 8 1122
北海茫月
北海茫月 2020-12-25 09:22

How to log to a file without using third party logger (serilog, elmah etc.) in .NET CORE?

public void ConfigureSer         


        
8条回答
  •  生来不讨喜
    2020-12-25 10:02

    No file logger is currently included in the framework but adding one is being considered: http://github.com/aspnet/Logging/issues/441. Feel free to upvote the issue on github.

提交回复
热议问题