Created
September 26, 2016 23:34
-
-
Save adam-hert/9b2289197798c7f2412d5657d3976019 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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