-
-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change sentry to microsoft mobile center for log reports
- Loading branch information
theweavr
committed
Dec 21, 2017
1 parent
89fd4e0
commit 8aa504d
Showing
6 changed files
with
51 additions
and
22 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
using BreadPlayer.Core; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using Microsoft.AppCenter; | ||
using Microsoft.AppCenter.Analytics; | ||
using Microsoft.AppCenter.Crashes; | ||
|
||
namespace BreadPlayer.Helpers | ||
{ | ||
public class LogReportSender : ILogReportSender | ||
{ | ||
public async void Init() | ||
{ | ||
AppCenter.Start("3a3c519a-67b0-487d-bb6b-f2a94c2e2303", typeof(Analytics), typeof(Crashes)); | ||
await AppCenter.SetEnabledAsync(true); | ||
} | ||
|
||
public Task SendReportAsync(string message, Exception ex, string errorLevel) | ||
{ | ||
return null; | ||
//throw new NotImplementedException(); | ||
} | ||
} | ||
} |
This file contains 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