All Projects → serilog → serilog-sinks-xamarin

serilog / serilog-sinks-xamarin

Licence: Apache-2.0 License
A Serilog sink that writes events to Xamarin mobile targets

Programming Languages

C#
18002 projects
powershell
5483 projects

Projects that are alternatives of or similar to serilog-sinks-xamarin

serilog-sinks-rabbitmq
Serilog Sink for RabbitMq
Stars: ✭ 49 (+6.52%)
Mutual labels:  serilog-sink, serilog
serilog-sinks-seq
A Serilog sink that writes events to the Seq structured log server
Stars: ✭ 132 (+186.96%)
Mutual labels:  serilog-sink, serilog
serilog-sinks-slackclient
Slack Sink for Serilog
Stars: ✭ 24 (-47.83%)
Mutual labels:  serilog-sink, serilog
PoShLog
🔩 PoShLog is PowerShell cross-platform logging module. It allows you to log structured event data into console, file and much more places easily. It's built upon great C# logging library Serilog - https://serilog.net/
Stars: ✭ 108 (+134.78%)
Mutual labels:  serilog-sink, serilog
Xamarin.Forms.ARToolkit
Augmented Reality Toolkit for Xamarin Forms
Stars: ✭ 15 (-67.39%)
Mutual labels:  xamarin
Microcharts
Create cross-platform (Xamarin, Windows, ...) simple charts.
Stars: ✭ 1,742 (+3686.96%)
Mutual labels:  xamarin
XamarinAzureChallenge
Create an iOS/Android app using Xamarin.Forms and connect it to a serverless Azure Function
Stars: ✭ 59 (+28.26%)
Mutual labels:  xamarin
ExpectAnimXamarin
Xamarin.Android Binding, describe your animation and just run
Stars: ✭ 18 (-60.87%)
Mutual labels:  xamarin
arcus.observability
Observability with Microsoft Azure in a breeze.
Stars: ✭ 24 (-47.83%)
Mutual labels:  serilog
SimpleXamarinGraphQL
An iOS and Android app built in Xamarin.Forms demonstrating how to interact with GitHub's GraphQL API
Stars: ✭ 18 (-60.87%)
Mutual labels:  xamarin
serilog-enrichers-clientinfo
Enrich logs with client IP and UserAgent.
Stars: ✭ 42 (-8.7%)
Mutual labels:  serilog
CreatingPlatformPlugins
A set of examples and documentation to aid in the development of cross-platform libraries and plugins.
Stars: ✭ 48 (+4.35%)
Mutual labels:  xamarin
Toast
To use it in PCL or .NetStandard projects write this line of code : CrossToastPopUp.Current.ShowToastMessage("Message");
Stars: ✭ 51 (+10.87%)
Mutual labels:  xamarin
XFFlipViewControl
An awesome animated Flippable View Control with Xamarin.Forms, or a Flipity Flippy Flippin' Flip View right here fellas! :D
Stars: ✭ 43 (-6.52%)
Mutual labels:  xamarin
FSCalendar-Xamarin-iOS
Binding for FSCalendar
Stars: ✭ 35 (-23.91%)
Mutual labels:  xamarin
Movies
Buy movie tickets in advance, find movie times, and more at "Movies".
Stars: ✭ 33 (-28.26%)
Mutual labels:  xamarin
serilog-sinks-richtextbox
A Serilog sink that writes log events to a WPF RichTextBox control with colors and theme support
Stars: ✭ 48 (+4.35%)
Mutual labels:  serilog
InteractiveAlert-Xamarin
Interactive alerts to Xamarin
Stars: ✭ 17 (-63.04%)
Mutual labels:  xamarin
AppRopio.Mobile
AppRopio - mobile apps builder for iOS/Android based on Xamarin
Stars: ✭ 16 (-65.22%)
Mutual labels:  xamarin
DevOpsExamples
A repo to show you how to use a private NuGet feed, such as Telerik, to restore packages in Azure DevOps, GitHub Actions, GitLab CI and AppCenter.
Stars: ✭ 16 (-65.22%)
Mutual labels:  xamarin

Serilog.Sinks.Xamarin Build status Join the chat at https://gitter.im/serilog/serilog

Writes Serilog events to the console of Xamarin.iOS (NSLog) / Xamarin.Android (AndroidLog).

Getting started

Install from NuGet:

Install-Package Serilog.Sinks.Xamarin

When using Xamarin.iOS

Log.Logger = new LoggerConfiguration()
    .WriteTo.NSLog()
    .CreateLogger();

When using Xamarin.Android

Log.Logger = new LoggerConfiguration()
    .WriteTo.AndroidLog()
    .Enrich.WithProperty(Constants.SourceContextPropertyName, "MyCustomTag") //Sets the Tag field.
    .CreateLogger();

Within your portable class libary or within your application

Log.Information("This will be written to either NSLog or AndroidLog");

Because the memory buffer may contain events that have not yet been written to the target sink, it is important to call Log.CloseAndFlush() or Logger.Dispose() when the application/activity exits.

About this sink

This sink is maintained by Geoffrey Huntley.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].