Nlog 日志DEMO

上传者: u010715568 | 上传时间: 2022-10-18 08:30:33 | 文件大小: 2.09MB | 文件类型: RAR
NLog是一个简单灵活的.NET日志记录类库,NLog的API非常类似于log4net,且配置方式非常简单。通过使用NLog,我们可以在任何一种.NET语言中输出带有上下文的调试信息,根据项目需求配置署出格式和输出目标的规则。

文件下载

资源详情

[{"title":"( 40 个子文件 2.09MB ) Nlog 日志DEMO","children":[{"title":"ConsoleNLog","children":[{"title":"ConsoleApp1","children":[{"title":"bin","children":[{"title":"Debug","children":[{"title":"ConsoleApp1.exe <span style='color:#111;'> 5.00KB </span>","children":null,"spread":false},{"title":"NLog.xml <span style='color:#111;'> 1.03MB </span>","children":null,"spread":false},{"title":"Logs","children":[{"title":"Info","children":[{"title":"info2018-09-07.txt <span style='color:#111;'> 20B </span>","children":null,"spread":false}],"spread":true},{"title":"Error","children":[{"title":"error2018-09-07.txt <span style='color:#111;'> 50B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"ConsoleApp1.pdb <span style='color:#111;'> 11.50KB </span>","children":null,"spread":false},{"title":"NLog.config <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"NLog.dll <span style='color:#111;'> 466.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"Release","children":null,"spread":false}],"spread":true},{"title":"obj","children":[{"title":"Debug","children":[{"title":"TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"ConsoleApp1.exe <span style='color:#111;'> 5.00KB </span>","children":null,"spread":false},{"title":"ConsoleApp1.csproj.CoreCompileInputs.cache <span style='color:#111;'> 42B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 7.36KB </span>","children":null,"spread":false},{"title":"TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"ConsoleApp1.pdb <span style='color:#111;'> 11.50KB </span>","children":null,"spread":false},{"title":"ConsoleApp1.csproj.CopyComplete <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"ConsoleApp1.csproj.FileListAbsolute.txt <span style='color:#111;'> 727B </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false}],"spread":true},{"title":"Program.cs <span style='color:#111;'> 453B </span>","children":null,"spread":false},{"title":"NLog.xsd <span style='color:#111;'> 120.84KB </span>","children":null,"spread":false},{"title":"NLog.config <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"packages.config <span style='color:#111;'> 275B </span>","children":null,"spread":false},{"title":"ConsoleApp1.csproj <span style='color:#111;'> 2.86KB </span>","children":null,"spread":false}],"spread":true},{"title":".vs","children":[{"title":"ConsoleNLog","children":[{"title":"v15","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"packages","children":[{"title":"NLog.4.0.0","children":[{"title":"lib","children":[{"title":"net45","children":[{"title":"NLog.xml <span style='color:#111;'> 1.03MB </span>","children":null,"spread":false},{"title":"NLog.dll <span style='color:#111;'> 466.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"net35","children":[{"title":"NLog.xml <span style='color:#111;'> 1.02MB </span>","children":null,"spread":false},{"title":"NLog.dll <span style='color:#111;'> 436.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"sl5","children":[{"title":"NLog.xml <span style='color:#111;'> 689.24KB </span>","children":null,"spread":false},{"title":"NLog.dll <span style='color:#111;'> 267.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"sl4","children":[{"title":"NLog.xml <span style='color:#111;'> 689.24KB </span>","children":null,"spread":false},{"title":"NLog.dll <span style='color:#111;'> 267.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"net40","children":[{"title":"NLog.xml <span style='color:#111;'> 1.02MB </span>","children":null,"spread":false},{"title":"NLog.dll <span style='color:#111;'> 437.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"NLog.4.0.0.nupkg <span style='color:#111;'> 1.03MB </span>","children":null,"spread":false}],"spread":true},{"title":"NLog.Config.4.0.0","children":[{"title":"NLog.Config.4.0.0.nupkg <span style='color:#111;'> 3.48KB </span>","children":null,"spread":false},{"title":"content","children":[{"title":"NLog.config <span style='color:#111;'> 673B </span>","children":null,"spread":false}],"spread":true},{"title":"tools","children":[{"title":"Install.ps1 <span style='color:#111;'> 372B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"NLog.Schema.4.0.0","children":[{"title":"content","children":[{"title":"NLog.xsd <span style='color:#111;'> 120.84KB </span>","children":null,"spread":false}],"spread":true},{"title":"NLog.Schema.4.0.0.nupkg <span style='color:#111;'> 13.13KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"ConsoleNLog.sln <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"NLog使用教程.docx <span style='color:#111;'> 37.32KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明