elmah.mvc - How to log text message in case of successful web requests using ELMAH and C# -


can me know regarding how log custom message using elmah , c# ,in case of successful web requests return status code 200.

is there method similar 1 mentioned below :

elmah.errorsignal.fromcurrentcontext().raise(ex); 

to log custom message.

a code sample useful.

thanks & regards, santosh kumar patro

as far know, elmah handles exceptions (error logging modules , handlers), little trick can make log whatever want, whenever want

note may not or best approach solve problem

errorsignal.fromcurrentcontext().raise(new notimplementedexception("blah blah blah whatever want")); //elmah signaling 

Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -