Skip to content

TrueNorthIT/Elmah

Repository files navigation

Elmah Tracer Build status

A simple TraceListener for use with Elmah.

Install

Install-Package TrueNorth.Elmah 

To Use

ElmahWriterTraceListener.Register();

And then

using System.Diagnostics

Trace.TraceError("Your error message");
Trace.TraceInformation("Or maybe some info");
Trace.TraceWarning("Or a warning");

You can also

Trace.Write("Hello");  // Will work the same as WriteLine
Trace.WriteLine("World"); 

See http://truenorthit.co.uk/2015/04/17/trace-listener-for-elmah-asp-mvc-exception-logger/ for more details

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages