Skip to content

Instantly share code, notes, and snippets.

Avatar

Jeremy Norman j5alive

View GitHub Profile
@j5alive
j5alive / RaygunBreadcrumbAttribute.cs
Last active Jun 7, 2017
Raygun4Net automatic Breadcrumb logging with ASP.NET MVC
View RaygunBreadcrumbAttribute.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Web.Mvc;
using Mindscape.Raygun4Net;
using Mindscape.Raygun4Net.Breadcrumbs;
namespace Raygun.Examples
{
@j5alive
j5alive / RaygunBreadcrumbTarget.cs
Last active Jun 7, 2017
Raygun4Net automatic Breadcrumb logging with NLog
View RaygunBreadcrumbTarget.cs
using System.Diagnostics;
using System.Reflection;
using Mindscape.Raygun4Net;
using Mindscape.Raygun4Net.Breadcrumbs;
using NLog;
using NLog.Targets;
namespace Raygun.Examples
{
[Target("RaygunBreadcrumb")]
@j5alive
j5alive / RaygunBreadcrumbAppender.cs
Last active Jun 7, 2017
Raygun4Net automatic Breadcrumb logging with log4net
View RaygunBreadcrumbAppender.cs
using log4net.Appender;
using log4net.Core;
using Mindscape.Raygun4Net;
using Mindscape.Raygun4Net.Breadcrumbs;
namespace Raygun.Examples
{
public class RaygunBreadcrumbAppender : AppenderSkeleton
{
protected override void Append(LoggingEvent loggingEvent)
You can’t perform that action at this time.