alexbeletsky / elmah-mvc

Painless integration of ELMAH into ASP.NET MVC application
http://nuget.org/packages/Elmah.MVC
Apache License 2.0
266 stars 61 forks source link

Callback/hook for custom code in the controller #55

Open denisz1 opened 9 years ago

denisz1 commented 9 years ago

Is it possible to get access to the controller, so I can mess with the Elmah output? I can't find anywhere to hook into. I looked at the source, but not sure where to start.

The controller is marked as "internal", and it is not possible to override anything.

I'd like to have a hook/callback/whatever from that controller, so I can, for example, inject custom javascript into the ouput which I can use to fiddle with the Elmah table, without having to recompile Elmah with my customisations. If the Elma.MVC package allowed this, then that would be the easiest way...

Any thoughts?