NLog, Elmah + shared library

夙愿已清 提交于 2019-12-04 11:22:47

I would use NLog as base for your logging. I've created a small target for NLog which could be used to route exceptions to ELMA. You'll find it at https://github.com/ccellar/nlog-elmah-target.

With this target you are able to use logger.*Exception( ... ) to log the exception and to pass it to ELMAH.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!