.Net Core2.1+NLog

时间:2021-10-04 14:04:32
【文件属性】:

文件名称:.Net Core2.1+NLog

文件大小:1.17MB

文件格式:ZIP

更新时间:2021-10-04 14:04:32

DotnetCore .Net Core2.1

.Net Core2.1+NLog+数据库连接 <?xml version="1.0" encoding="utf-8" ?> <!-- create table NLog ( Id int identity, Application nvarchar(50) null, Logged datetime null, Level nvarchar(50) null, Message nvarchar(512) null, Logger nvarchar(250) null, Callsite nvarchar(512) null, Exception nvarchar(512) null, constraint PK_NLOG primary key (Id) ) --> insert into nlog ( Application, Logged, Level, Message, Logger, CallSite, Exception ) values ( @Application, @Logged, @Level, @Message, @Logger, @Callsite, @Exception ); <!--Skip Microsoft logs and so log only own logs-->


【文件预览】:
NLogServices
----NLogServices()
--------NLogServices.csproj(314B)
--------bin()
--------obj()
--------Nlog.config(2KB)
----.vs()
--------NLogServices()
--------config()
----NLogServices.sln(2KB)
----NLogTestDemo()
--------Startup.cs(2KB)
--------bin()
--------NLogTestDemo.csproj(816B)
--------obj()
--------Properties()
--------Program.cs(675B)
--------Nlog.config(2KB)
--------appsettings.Development.json(146B)
--------appsettings.json(239B)
--------logfiles()
--------wwwroot()
--------Controllers()

网友评论