MySqlConnector.Logging.Microsoft.Extensions.Logging 1.0.0

Writes MySqlConnector logging output to Microsoft.Extensions.Logging with one line of code.

Install-Package MySqlConnector.Logging.Microsoft.Extensions.Logging -Version 1.0.0
dotnet add package MySqlConnector.Logging.Microsoft.Extensions.Logging --version 1.0.0
<PackageReference Include="MySqlConnector.Logging.Microsoft.Extensions.Logging" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MySqlConnector.Logging.Microsoft.Extensions.Logging --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MySqlConnector.Logging.Microsoft.Extensions.Logging, 1.0.0"
For F# scripts that support #r syntax, copy this into the source code to reference the package.

Add the following line of code to your Startup.Configure method:

MySqlConnectorLogManager.Provider = new MicrosoftExtensionsLoggingLoggerProvider(loggerFactory);

Add the following line of code to your Startup.Configure method:

MySqlConnectorLogManager.Provider = new MicrosoftExtensionsLoggingLoggerProvider(loggerFactory);

Release Notes

https://mysqlconnector.net/overview/version-history/

NuGet packages (1)

Showing the top 1 NuGet packages that depend on MySqlConnector.Logging.Microsoft.Extensions.Logging:

Package Downloads
HB.Infrastructure.MySQL
Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0 6,836 7/11/2020
0.58.0 11,915 9/24/2019
0.57.0 225 9/23/2019
0.40.0 8,751 4/17/2018
0.37.1 497 3/21/2018