The Semantic Logging Application Block provides a set of destinations to persist events published by a subclass of EventSource, This add-on packages adds support to persisting log entries in SQL Server and Azure SQL Database.
$ dotnet add package EnterpriseLibrary.SemanticLogging.DatabaseNo README available.