Quantcast
Channel: Developer Express Inc.
Viewing all articles
Browse latest Browse all 2388

Logify 24x7 App Monitoring Now with Xamarin/UWP Support

$
0
0

We just released three new clients for Xamarin.iOS, Xamarin.Android and UWP applications. If you’re building apps for Xamarin, you can use these clients within your projects. Exceptions generated within Xamarin.Forms code will also be caught.

Getting Started 

To start monitoring your Xamarin apps with Logify, you simply need to add the Logify.Alert.Xamarin.iOS, Logify.Alert.Xamarin.Android or Logify.Alert.UWP library to your project. Once added, you will then need to configure Logify using the following code snippet at the start point of your application:

LogifyAlert.Instance.ApiKey = "YOUR_API_KEY";
LogifyAlert.Instance.StartExceptionsHandling();

Application start points are as follows:

  • iOS: beginning of the Main method
  • Android: beginning of the OnCreate method of the MainActivity
  • UWP: beginning of the App class constructor.
Your Logify client is now ready to catch all application exceptions.

Client Сustomization

Logify’s Xamarin clients ship with an API much like those of their .NET counterparts. As such, you can add Attachments, fill Breadcrumbs, configure Offline Reports, etc. The complete Xamarin client API is available here: Xamarin.Android and Xamarin.iOS Clients.
Important note for Xamarin.Forms projects.
If you are working on a Xamarin.Forms app, you need to add Logify clients in platform projects: iOS, Android and UWP. However, if you want to use the Logify client API in your core .NET Standard project, you will need to add the Logify.Alert.Core package to this project. Once you’ve added the package, you can access an instance of Logify using the Logify.ClientBase.Instance static property.

Sample Reports

I’ve described how to configure your Xamarin app and begin using Logify. Let me now turn my attention to its report engine. Here are four sample reports generated from a small test application:

Sample iOS Log

Sample Android Log

Sample UWP Log

Sample Xamarin.Forms Log

As you can see these reports contains detailed information about individual exceptions and the environment wherein the exception was raised.

Should you need to collect additional information, you can use CustomData or Tags.
As always, we welcome your feedback. Share your thoughts and opinions below and tell us how you’re using Logify within your enterprise.

Viewing all articles
Browse latest Browse all 2388

Trending Articles