To integrate MySqlConnector with NLog, add the following line of code to your application startup routine (before any MySqlConnector
objects have been used):
MySqlConnectorLogManager.Provider = new NLogLoggerProvider();
To integrate MySqlConnector with NLog, add the following line of code to your application startup routine (before any MySqlConnector
objects have been used):
MySqlConnectorLogManager.Provider = new NLogLoggerProvider();