Skip to content

Instantly share code, notes, and snippets.

@adam-hert
Created September 26, 2016 23:34
Show Gist options
  • Save adam-hert/9b2289197798c7f2412d5657d3976019 to your computer and use it in GitHub Desktop.
Save adam-hert/9b2289197798c7f2412d5657d3976019 to your computer and use it in GitHub Desktop.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using AppNeta.Instrumentation;
public partial class _Default : Page
{
protected void Page_Load(object sender, EventArgs e)
{
InfoTraceEvent traceEvent = AppNeta.Instrumentation.Trace.CreateInfoEvent("IIS");
traceEvent.AddInfo("Controller", "Test_controller");
traceEvent.AddInfo("Action", "Test_action");
traceEvent.Report();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment