Code Monkey home page Code Monkey logo

xamarin.logentries.android's Introduction

Logentries SDK for Xamarin.Android

NuGet Badge

This is a Xamarin Android bindings for Logentries le_android static library le_android

  • Log events are forwarded over TCP to a specific log

    A unique Token UUID for the log is appended to each log event that is sent

  • Send Logs via SSL (only available with the TCP Token method)

    The library can send logs via Token TCP over TLS/SSL to port 443

    Note that the library itself does not validate or manage TLS/SSL certificates!

  • Storing logs offline and sending when connected.

    While sending logs, if the device looses connection, logs are stored locally until a connection is reestablished

    10mb queue limit

  • TraceID

    Each log event sent contains the device TraceID which is a unique 35 character ID.

  • Datahub support

    Log events can be forward by TCP Token to Datahub

  • Send Logs via HTTP POST (Note that this option will be deprecated in the near future!)

    Option of changing from Token TCP to using HTTP POST sending to the endpoint 'http://js.logentries.com/v1/logs/LOG-TOKEN'

    It is recommended to use the Token TCP default, which also has the option of using TLS/SSL

Installation

Install NuGet package: Install-Package Xamarin.Logentries.Android.

Add the permission "android.permission.INTERNET" to the project manifest file.

If you don't have a Logentries account yet, go ahead and create free account using this link: https://logentries.com/learnmore?code=781f627c

Note: this is a referral link. Using it will help to grow my logging limits. Here is a plain url https://logentries.com/

Simple example

using Logentries.Android;
...
var logger = AndroidLogger.CreateInstance(Android.AndroidApplication.Context.ApplicationContext,
                                          false, true, false, null, 0, "{YOUR TOKEN HERE}", true);
logger.Log("MyActivity has been created");

or

using Logentries.Android;
...
var logger = AndroidLogger.CreateInstance("{YOUR TOKEN HERE}");
logger.Log("MyActivity has been created");

Additional information available on Logentries website and Logentries Android repository.

Binding details

Build requirements: Android SDK 2.3+ (API 15+)

Runtime requirements: Android OS 2.3+ (API 15+)

xamarin.logentries.android's People

Contributors

alexsorokoletov avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.