AspNetCore3.1-配置并使用Log4Net
1.添加NuGet包:Microsoft.Extensions.Logging.Log4Net.AspNetCore和Log4Net.aspnetcore2.配置Program类3.添加配置文件<?xml version="1.0" encoding="utf-8"?><log4net> <appender name="DebugAppender" type="log4net.Appender.DebugAppender" > <layou
原创
2020-10-24 13:22:45 ·
820 阅读 ·
0 评论