Write to the event log in a .net project
来源:互联网 发布:甘肃网络广播电视台 编辑:程序博客网 时间:2024/05/23 00:23
The Application Event Log that is commented out in the app.config file。
allows you to write to the event log, for debug/error info, instead of writing a text file:
http://www.samspublishing.com/articles/article.asp?p=606221&seqNum=4&rl=1
Once you uncomment all you have to do is:
Application.Log.WriteEntry("Something disasterous happened in my app :)", TraceEventType.Information);Before you had to use a component from the toolbox, this is now available straight out of the box in the my namespace
- Write to the event log in a .net project
- How to Write a Project Proposal
- plan to create a project in sf.net
- How to write a script in Linux
- FAQ How do I write to the console from a plug-in?
- CareerCup Write the code to find lexicographic minimum in a circular array
- write build.xml to depoly project in eclipse
- Write Log in VB
- Last_Error: Error executing row event: 'Cannot execute statement: impossible to write to binary log
- The goal you specified requires a project to execute but there is no POM in 错误
- hadoop2.0报错“There appears to be a gap in the edit log”
- Given a function RAND5 that generates random numbers in the range 0 to 5 write a function RAND7?
- TIP: when you get a message in job log user [Dr. Who] is not authorized to view the log
- How to write mutiple graphs in a run in tensorflow
- How to write event log(Event Viewer) using C++ - 用C++如何写事件日志(事件查看器)
- Can't open a connection to site 'SYB_BACKUP'. See the error log file in the ASE boot directory. Msg
- The Calendar Control and the DayRender Event in ASP.Net
- How to use jquery or ajax to update razor partial view in c#/asp.net for a MVC project
- 应用程序和服务性能
- 与客户端交互
- 毕业了,感觉。。。挺感伤的
- 自动生成验证码过程中的问题
- DataSet排序
- Write to the event log in a .net project
- ASP.NET性能优化总结
- dataset.HasChanges
- 数据库连接池~~hoho
- 在SAS存储过程使用SMC中定义的逻辑库
- 一段下载功能的代码
- TCP序列号和确认号详解
- red Hat AS4 非图形界面安装oracle 10.2客户端,并访问远程数据库
- EJBCA安装的文档