How to log to a file without using third party logger (serilog, elmah etc.) in .NET CORE?
public void ConfigureSer
If you are using IIS, you can enable and view stdout logs:
true
..\logs\stdout
).For information about stdout logging, see Troubleshoot ASP.NET Core on IIS.