Skip to content

WebApiContrib/WebApiContrib.Logging.Raygun

Repository files navigation

WebApiContrib.Logging.Raygun

Logging adapter for Mindscape Raygun. Supports all hosts - web, self-host, Owin host.

Usage

Register RaygunExceptionLogger as your IExceptionLogger.

config.Services.Add(typeof (IExceptionLogger), new RaygunExceptionLogger("YOUR_API_KEY"));

or

config.Services.Add(typeof (IExceptionLogger), new RaygunExceptionLogger());

The latter approach requires your Raygun API key to be added as app setting:

<add key="RaygunAppKey" value="YOUR_API_KEY" />

More Info

You can find more information, including screenshots in this blog post.

Note

Some code internalized from official Raygun .NET client in order to avoid taking dependency on it (since it's System.Web based).

About

Logging adapter for Mindscape Raygun

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published