您的位置:首页 > 编程语言 > ASP

Tip - ASP.NET程序Error Logging工具: ELMAH

2009-04-20 10:54 369 查看
你的ASP.NET程序有Error Logging的功能吗?今天看到ELMAH的介绍,可以一试



ELMAH (Error Logging Modules and Handlers) is an application-wide
error logging facility that is completely pluggable. It can be
dynamically added to a running ASP.NET web application, or even all ASP.NET web applications on a machine, without any need for re-compilation or re-deployment.

Once
ELMAH has been dropped into a running web application and configured
appropriately, you get the following facilites without changing a
single line of your code:

Logging of nearly all unhandled exceptions.

A web page to remotely view the entire log of recoded exceptions.

A web page to remotely view the full details of any one logged exception.

In many cases, you can review the original yellow screen of death that ASP.NET generated for a given exception, even with customErrors mode turned off.

An e-mail notification of each error at the time it occurs.

An RSS feed of the last 15 errors from the log.

A number of backing storage implementations for the log, including in-memory, Microsoft SQL Server and several contributed by the community.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: