李宗瑞性侵继母全集,我想和你唱第二季胡夏,程立云
what is logging ?
is the felling, skidding, on-site processing, and loading of trees or logs onto trucks. and since windows phone is much more event driven. you can find more information in x" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; color: rgb(255, 102, 0); text-decoration: none; ">event logging.
why to use logging ?
exception is everywhere in common software development. a good logging tool may helps a lot in solving problems. here i recommend logging tool in 7contrib.
here i created a helper class to do better and easier logging.
we can log common information as well as exception simply by pass different parameter. we can also log device information since it may be help in finding which device goes wrong.
how to use it ?
first, we should add dll reference to our main project, shown as follow:
after that, we manually generate a dividebvzeroexception, shown as below:
here, i use logginghelper(shown before) class to log exception.as we run the app, we can find exception both in output and log.dat which is the file store logging.
ok, it is very simple to use. you can find here.
如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复
Windows Phone 7编程实践—推送通知(剖析推送通知实现架构)
Esri for Window Phone 7(一) 加载BingMap
浅谈ListBox在Windows Phone 7 中的使用
网友评论