• 2025-01-11Nlog写入MySql
    1.安装相关Nuget包mysql.data,Nlog,Nlog.Database2.新建配置文件,并右击配置文件修改属性复制到输出目录-始终复制<?xmlversion="1.0"encoding="utf-8"?><configuration><nlogxmlns="http://www.nlog-project.org/schemas/nlog.xsd"xml