Customizing the Elmah Log Error Page

I would like to use Elmah to record operations in the application and not only for errors (I know this, literally means an error registration module).

So, I would like to set up the default error display screen (../elmah.axd):

I have a wish, as shown below:

  • Change Error Column Name to Message
  • Use the html tags in the error message.

To register user information, I use a method such as:

ErrorSignal.FromCurrentContext().Raise(new Elmah.ApplicationException(message));

But it displays the message in the span tag, and if I use any <a href="">or <br />or even &lt;, the result will be written in the same way as the html attribute.


The default page is below for visual understanding:

enter image description here

+5
1

Elmah - dll, , ErroLogPage, ErrorDetailPage, .

, elmah, db/disk/etc.

+5

All Articles