C#如何使用log4net记录本地日志

第一步:首先从Visual Studio中的Nuget包管理中搜索下载 Log4Net dll文件 如下图: 第二步:打开配置文件 WinFrom就是 App.config Web就是 web.config 将以下配置信息加入 <configSections>  <section name="log4net" type="log4net.Config.Log4NetConfigurationSec
相关文章
相关标签/搜索