Skip to content

Instantly share code, notes, and snippets.

View j5alive's full-sized avatar

Jeremy Norman j5alive

  • Re-Leased
  • New Zealand
View GitHub Profile
@j5alive
j5alive / RaygunBreadcrumbAttribute.cs
Last active June 7, 2017 08:54
Raygun4Net automatic Breadcrumb logging with ASP.NET MVC
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 June 7, 2017 08:19
Raygun4Net automatic Breadcrumb logging with NLog
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 June 7, 2017 07:38
Raygun4Net automatic Breadcrumb logging with log4net
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)