RedBearSys / RedBear.LogDNA.Extensions.Logging

LogDNA provider for Microsoft.Extensions.Logging
MIT License
2 stars 2 forks source link

Fix for .NET Core 3.1 #4

Open kostelis opened 4 years ago

kostelis commented 4 years ago

Your library does not work with .NET Core 3.1 because FormattedLogValues class is made internal and it crashes the application. Can you please add the following fix to the RedBear.LogDNA.Extensions.Logging package LogDNALogger.cs class to use IEnumerable<KeyValuePair<string, object>> instead of FormattedLogValues (line 37):

var lv = state as IEnumerable<KeyValuePair<string, object>>;

Please refer to this pull request.

dasuma commented 4 years ago

pls merge de pr and publish new version, pls