09 2011 档案

摘要:因为项目要记录日志,便于调试,在网上搜了一下。大部分的应用都是用的是log4net这个开源软件,所以我们也就采用了这个开源软件来记录日志信息。比如说日志文件的配置以及日志的级别打印等功能许多网站上已经有很多的介绍,所以在这里也就不多赘述。现在想说一下的就是日志过滤器的使用,看了一下别人写的例子,都是一笔代过,没有做详细的介绍,所以我们只好参考官方的API文档来配置了。log4net里面的filter类常用的为:1、DenyAllFilter 拒绝所用的日志输出 <filter type="log4net.Filter.LevelMatchFilter"> < 阅读全文
posted @ 2011-09-27 09:05 逆时针 阅读(420) 评论(0) 推荐(0) 编辑
摘要:Inheriting From a Native C++ Class in C#Hi, this is Jim Springfield, an architect on the Visual C++ team. I have blogged in the past about our IDE and Intellisense work. I am still heavily focused on that and we are working hard to deliver an improved experience, but this post is about a completely 阅读全文
posted @ 2011-09-15 14:13 逆时针 阅读(4412) 评论(0) 推荐(1) 编辑