/LogsPlugin

Plugin to logs on all .Net platforms. Can be used in : .Net Xamarin iOS Xamarin Android .Net Core

Primary LanguageC#MIT LicenseMIT

LogsPlugin

Build status NuGet

Plugin to logs on .Net platforms.

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

Build

Build status

Platform Support

Platform Supported Version
.NET Standard Yes 2.0

Created By: @JeromeGiacomini

License

MIT © JGI