From d5a6fc36a4989fe941b5f0611336f1a74c81ab68 Mon Sep 17 00:00:00 2001 From: Ying Wang Date: Wed, 11 Oct 2017 22:24:07 -0700 Subject: [PATCH] Add severitylevel to NewTraceTelemetry --- appinsights/datacontracts.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/appinsights/datacontracts.go b/appinsights/datacontracts.go index 8786585..136a86e 100644 --- a/appinsights/datacontracts.go +++ b/appinsights/datacontracts.go @@ -26,7 +26,8 @@ type TraceTelemetry struct { func NewTraceTelemetry(message string, severityLevel SeverityLevel) *TraceTelemetry { now := time.Now() data := &messageData{ - Message: message, + Message: message, + SeverityLevel: severityLevel, } data.Ver = 2