Add project files.

This commit is contained in:
2017-02-02 01:31:36 +02:00
parent f6b08f01f2
commit e403fd51c4
275 changed files with 30026 additions and 0 deletions
@@ -0,0 +1,26 @@
using Microsoft.ApplicationInsights;
using System;
namespace LanBackup.WebApp.Models.Telemetry
{
public class TelemetryLogger : ITelemetryLogger
{
private TelemetryClient _telemetryClient;
public TelemetryLogger(TelemetryClient telemetryClient)
{
this._telemetryClient = telemetryClient;
}
public void TrackEvent(string eventmsg)
{
this._telemetryClient.TrackEvent(eventmsg);
}
public void TrackException(Exception ex)
{
this._telemetryClient.TrackException(ex);
}
}
}