日志记录模块设计和实现

上传者: coderjyf | 上传时间: 2021-05-18 17:13:57 | 文件大小: 104KB | 文件类型: ZIP
程序设计开发难免会遇到日志记录,有的采用第三方的开源日志系统,但是比较庞大和笨重,有的只需要简单显示记录文件就可以,所以就需要自己单独来开发实现,本工程即是一个日志记录和显示的简单设计与实现,如有不足欢迎指正 日志记录: 日志记录在程序设计开发过程中,是非常重要的,可以供调试和记录数据,虽然说有开源的强大日志管理系统,比如apache的Log4Net,功能可谓强悍,但是有时候,不需要这么大的日志,只需要显示和文件记录就可以了,没必要用这么重的日志系统,那么就需要自己来写,如下就是一个简单的日志记录和显示模块的设计和实现,如有不足,还望见谅!废话不多,直入主题。 笨小孩日志:BenXHLog 博客地址:http://www.cnblogs.com/JiYF/p/7256220.html

文件下载

资源详情

[{"title":"( 39 个子文件 104KB ) 日志记录模块设计和实现","children":[{"title":"BenXHLog","children":[{"title":"BenXH.Log","children":[{"title":"bin","children":[{"title":"Release","children":null,"spread":false},{"title":"Debug","children":[{"title":"BenXHCMS.Log.dll <span style='color:#111;'> 13.00KB </span>","children":null,"spread":false},{"title":"BenXHCMS.Log.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"BenXHCMS.Log.pdb <span style='color:#111;'> 49.50KB </span>","children":null,"spread":false},{"title":"BenXHCMS.Log.vshost.exe <span style='color:#111;'> 23.65KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"BenXH.Log.csproj.user <span style='color:#111;'> 228B </span>","children":null,"spread":false},{"title":"Common","children":[{"title":"FileUtil.cs <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false}],"spread":true},{"title":"obj","children":[{"title":"Debug","children":[{"title":"BenXHCMS.Log.dll <span style='color:#111;'> 13.00KB </span>","children":null,"spread":false},{"title":"BenXHCMS.Log.pdb <span style='color:#111;'> 49.50KB </span>","children":null,"spread":false},{"title":"BenXHCMS.Log.csprojResolveAssemblyReference.cache <span style='color:#111;'> 1.71KB </span>","children":null,"spread":false},{"title":"BenXHCMS.Log.csproj.FileListAbsolute.txt <span style='color:#111;'> 841B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.25KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"BenXH.Log.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"BenXH.Log.csprojResolveAssemblyReference.cache <span style='color:#111;'> 1.71KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Log","children":[{"title":"Log.cs <span style='color:#111;'> 24.84KB </span>","children":null,"spread":false},{"title":"LogFactory.cs <span style='color:#111;'> 432B </span>","children":null,"spread":false},{"title":"ILog.cs <span style='color:#111;'> 3.23KB </span>","children":null,"spread":false},{"title":"LogUtil.cs <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"ILogFactory.cs <span style='color:#111;'> 209B </span>","children":null,"spread":false}],"spread":true},{"title":"BenXH.Log.csproj <span style='color:#111;'> 2.72KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"BenXH.Log.v12.suo <span style='color:#111;'> 54.50KB </span>","children":null,"spread":false},{"title":"LogTest","children":[{"title":"bin","children":[{"title":"Release","children":null,"spread":false},{"title":"Debug","children":[{"title":"BenXHCMS.Log.dll <span style='color:#111;'> 13.00KB </span>","children":null,"spread":false},{"title":"BenXHCMS.Log.pdb <span style='color:#111;'> 49.50KB </span>","children":null,"spread":false},{"title":"LogTest.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"Log","children":[{"title":"2017-07-29_BenXH_INFO.log <span style='color:#111;'> 56B </span>","children":null,"spread":false},{"title":"2017-07-29_BenXH_DEBUG.log <span style='color:#111;'> 56B </span>","children":null,"spread":false}],"spread":true},{"title":"LogTest.exe <span style='color:#111;'> 5.00KB </span>","children":null,"spread":false},{"title":"LogTest.pdb <span style='color:#111;'> 13.50KB </span>","children":null,"spread":false},{"title":"LogTest.vshost.exe <span style='color:#111;'> 23.65KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"obj","children":[{"title":"Debug","children":[{"title":"LogTest.csproj.FileListAbsolute.txt <span style='color:#111;'> 982B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.32KB </span>","children":null,"spread":false},{"title":"LogTest.csprojResolveAssemblyReference.cache <span style='color:#111;'> 8.29KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"LogTest.exe <span style='color:#111;'> 5.00KB </span>","children":null,"spread":false},{"title":"LogTest.pdb <span style='color:#111;'> 13.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Test.cs <span style='color:#111;'> 651B </span>","children":null,"spread":false},{"title":"LogTest.csproj <span style='color:#111;'> 2.64KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"BenXH.Log.sln <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false},{"title":"BenXH.Log.suo <span style='color:#111;'> 52.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • jonhzy :
    价值很不错,谢谢分享!!!!
    2018-06-20

免责申明

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