摘要: <?xml version="1.0" encoding="utf-8" ?><configuration> <!--In a config file where there will (potentially) be more information stored beyond just the log4net configuration information, you will need to specify a section to identify where the log4net configuration i 阅读全文
posted @ 2012-04-03 21:06 ttssrs 阅读(473) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="utf-8" ?><configuration> <configSections> <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net-net-1.0"/> </configSections> <log4net> <root> <level va 阅读全文
posted @ 2012-04-03 21:05 ttssrs 阅读(285) 评论(0) 推荐(0) 编辑
摘要: Log4net的安装:用户可以从http://logging.apache.org/log4net/下载log4net的源代码。解压软件包后,在解压的src目录下将log4net.sln载入Visual Studio .NET,编译后可以得到log4net.dll。用户要在自己的程序里加入日志功能,只需将log4net.dll引入工程即可。 阅读全文
posted @ 2012-04-03 19:30 ttssrs 阅读(246) 评论(0) 推荐(0) 编辑
摘要: Zigbee、WiFi和433MHz无线技术都属于近距离无线通讯技术,并且都使用ISM免执照频段,但它们各具特点。 ZigBee的特点是低功耗、高可靠性、强抗干扰性,布网容易,通过无线中继器可以非常方便地将网络覆盖范围扩展至数十倍,因此从小空间到大空间、从简单空间环境到复杂空间环境的场合都可以使用。但相比于WiFi技术,Zigbee是定位于低传输速率的应用,因此Zigbee显然不适合于高速上网、大文件下载等场合。对于餐饮行业的无线点餐应用,由于其数据传输量一般来说都不是很大,因此Zigbee技术是非常适合该应用的。 WiFi的特点是数据传输速率高,并且支持“永远在线”功能。对于某些应用或场合而 阅读全文
posted @ 2012-04-03 19:05 ttssrs 阅读(1164) 评论(0) 推荐(0) 编辑
摘要: 在“安装”阶段发生异常。System.ComponentModel.Win32Exception: 指定的服务已标记为删除。解决:关掉 我的电脑的“服务”窗口 阅读全文
posted @ 2012-04-03 19:03 ttssrs 阅读(422) 评论(0) 推荐(0) 编辑
摘要: 在项目中建立log4net.config文件,内容如下:<?xml version="1.0" encoding="utf-8" ?><configuration> <configSections> <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net-net-1.0"/> </configSections> <log4net&g 阅读全文
posted @ 2012-04-03 19:02 ttssrs 阅读(5057) 评论(1) 推荐(3) 编辑
摘要: IntroductionOne of the greatest logging tools out there for .NET is log4net. This software is the gold standard for how logging should be done. It is simple, powerful, and extensible. The best part is that it is part of the FOSS community. What could be better? The one thing I see that is, in my opi 阅读全文
posted @ 2012-04-03 18:42 ttssrs 阅读(371) 评论(0) 推荐(0) 编辑