Skip to content

Commit

Permalink
Enable HockeyApp Logging for UWP app
Browse files Browse the repository at this point in the history
  • Loading branch information
Alina Popa committed May 9, 2016
1 parent 925de6d commit 7e2560a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/MobileApps/MyDriving/MyDriving.Shared/PlatformLogger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ public override void Track(string trackIdentifier, IDictionary<string, string> t
HockeyApp.Metrics.MetricsManager.TrackEvent(trackIdentifier);
#elif __IOS__
HockeyApp.BITHockeyManager.SharedHockeyManager?.MetricsManager?.TrackEvent(trackIdentifier);
#elif WINDOWS_UWP
Microsoft.HockeyApp.HockeyClient.Current.TrackEvent(trackIdentifier);
#endif
base.Track(trackIdentifier, table);
}
Expand All @@ -55,6 +57,8 @@ public override void Track(string trackIdentifier, string key, string value)
HockeyApp.Metrics.MetricsManager.TrackEvent(trackIdentifier);
#elif __IOS__
HockeyApp.BITHockeyManager.SharedHockeyManager?.MetricsManager?.TrackEvent(trackIdentifier);
#elif WINDOWS_UWP
Microsoft.HockeyApp.HockeyClient.Current.TrackEvent(trackIdentifier);
#endif
base.Track(trackIdentifier, key, value);
}
Expand Down
2 changes: 1 addition & 1 deletion src/MobileApps/MyDriving/MyDriving.UWP/project.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"dependencies": {
"Acr.UserDialogs": "4.3.4",
"HockeySDK.UWP": "3.1.1-build59744",
"HockeySDK.UWP": "4.0.0",
"Humanizer.Core": "2.0.1",
"Microsoft.Azure.Devices.Client.PCL": "1.0.3",
"Microsoft.Azure.Mobile.Client.SQLiteStore": "2.0.1",
Expand Down

0 comments on commit 7e2560a

Please sign in to comment.