Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jgiacomini/logsplugin
Plugin to logs on all .Net platforms. Can be used in : .Net Xamarin iOS Xamarin Android .Net Core
https://github.com/jgiacomini/logsplugin
dotnet netstandard uwp xamarin xamarin-android xamarin-ios
Last synced: 21 days ago
JSON representation
Plugin to logs on all .Net platforms. Can be used in : .Net Xamarin iOS Xamarin Android .Net Core
- Host: GitHub
- URL: https://github.com/jgiacomini/logsplugin
- Owner: jgiacomini
- License: mit
- Created: 2017-06-19T10:30:34.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-17T14:26:50.000Z (over 6 years ago)
- Last Synced: 2025-01-05T06:19:11.286Z (about 1 month ago)
- Topics: dotnet, netstandard, uwp, xamarin, xamarin-android, xamarin-ios
- Language: C#
- Size: 123 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LogsPlugin
[![Build status](https://ci.appveyor.com/api/projects/status/6b5nojsd4ex6gk70?svg=true)](https://ci.appveyor.com/project/jgiacomini/logsplugin)
[![NuGet](https://img.shields.io/nuget/v/Plugin.Logs.svg?label=NuGet)](https://www.nuget.org/packages/Plugin.Logs/)Plugin to logs on .Net platforms.
```cs
using Plugin.Logs;
ILoggerFactory loggerFactory = new LoggerFactory
{
LogDirectoryPath = @"C:\logs\"
};var logger = loggerFactory.GetLoggger("Log");
//Log a message
logger.Info("Message");//Log a warning message
logger.Warning("Message");// Log an exception
logger.Log(new NotImplementedException());// Log an exception with message
logger.Log("message", new NotImplementedException());```
## NuGet
* Available on NuGet: [Plugin.Logs](http://www.nuget.org/packages/Plugin.Logs) [![NuGet](https://img.shields.io/nuget/v/Plugin.Logs.svg?label=NuGet)](https://www.nuget.org/packages/Plugin.Logs/)## Build
[![Build status](https://ci.appveyor.com/api/projects/status/6b5nojsd4ex6gk70?svg=true)](https://ci.appveyor.com/project/jgiacomini/logsplugin)## Platform Support
|Platform|Supported|Version|
| ------------------- | :-----------: | :------------------: |
|.NET Standard|Yes|2.0|### Created By: [@JeromeGiacomini](https://twitter.com/jeromegiacomini)
* Twitter: [@JeromeGiacomini](http://twitter.com/jeromegiacomini)
* Blog: [Blog perso](http://jeromegiacomini.net/Blog/), [Blog pro](http://blogs.infinitesquare.com/users/jgiacomini)
* Book: [Xamarin French only](https://www.editions-eni.fr/supports-de-cours/livre/xamarin-developpez-vos-applications-multiplateformes-pour-ios-android-et-windows-9782409007477)## License
MIT © JGI