开发者

Extend ELMAH to include another viewer hitting a different table

I've been doing a little tweaking of the SQL-side of ELMAH to provide basic logging capabilities to my MVC app.

I changed ELMAH_LogError to test the TYPE field for text sent by my App and, if found, inserts to a different table that i'd created by 'Script As'

It was reasonably easy to simply create a new table because I didn't try to rename any fi开发者_如何学Goelds. The structure is identical to the original. Any chance this same principle (same structure/different table name) could be (easily) extended to providing a new 'Logger.axd' that would provide viewing of my newly created table?

thx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜