C#操作日志记录程序

上传者: 38690095 | 上传时间: 2023-02-17 15:40:12 | 文件大小: 59KB | 文件类型: RAR
C#源码编写实现记录操作日志程序,可以停止启动日期,如果超过一个月自动删除日志文件,以便释放磁盘资源,一刻钟扫描一次,检测并删除过期文件(只保留最近一个月的日志文件),当日志文件不止一个时, 初始化组件运行所需参数,生成的日志记录在logs目录下,与exe同级目录。
运行环境:Visual Studio2010

文件下载

资源详情

[{"title":"( 30 个子文件 59KB ) C#操作日志记录程序","children":[{"title":"okbase.net","children":[{"title":"Logger","children":[{"title":"Soar.Host","children":[{"title":"Form1.Designer.cs <span style='color:#111;'> 2.24KB </span>","children":null,"spread":false},{"title":"Program.cs <span style='color:#111;'> 470B </span>","children":null,"spread":false},{"title":"Form1.cs <span style='color:#111;'> 3.69KB </span>","children":null,"spread":false},{"title":"Form1.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"Soar.Host.csproj <span style='color:#111;'> 3.48KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"Resources.Designer.cs <span style='color:#111;'> 2.80KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Soar.Framework.suo <span style='color:#111;'> 90.00KB </span>","children":null,"spread":false},{"title":"Soar.Logger","children":[{"title":"LogItem.cs <span style='color:#111;'> 2.00KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Debug","children":[{"title":"Soar.Logger.dll <span style='color:#111;'> 12.50KB </span>","children":null,"spread":false},{"title":"Soar.Logger.pdb <span style='color:#111;'> 35.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"obj","children":[{"title":"Debug","children":[{"title":"Soar.Logger.dll <span style='color:#111;'> 12.50KB </span>","children":null,"spread":false},{"title":"Soar.Logger.pdb <span style='color:#111;'> 35.50KB </span>","children":null,"spread":false},{"title":"Refactor","children":[{"title":"Soar.Logger.dll <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"Soar.Logger.csproj.FileListAbsolute.txt <span style='color:#111;'> 820B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Logger.cs <span style='color:#111;'> 11.98KB </span>","children":null,"spread":false},{"title":"Soar.Logger.csproj <span style='color:#111;'> 2.30KB </span>","children":null,"spread":false},{"title":"LogEntity.cs <span style='color:#111;'> 2.71KB </span>","children":null,"spread":false},{"title":"ILogger.cs <span style='color:#111;'> 1.83KB </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":".svn","children":[{"title":"all-wcprops <span style='color:#111;'> 374B </span>","children":null,"spread":false},{"title":"prop-base","children":[{"title":"AutoUpdater.suo.svn-base <span style='color:#111;'> 53B </span>","children":null,"spread":false}],"spread":true},{"title":"text-base","children":[{"title":"AutoUpdater.sln.svn-base <span style='color:#111;'> 923B </span>","children":null,"spread":false},{"title":"Read me.txt.svn-base <span style='color:#111;'> 3.71KB </span>","children":null,"spread":false},{"title":"AutoUpdater.suo.svn-base <span style='color:#111;'> 25.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"entries <span style='color:#111;'> 696B </span>","children":null,"spread":false}],"spread":true},{"title":"Soar.Framework.sln <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

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