MySqlDataSourceBuilder.UseLoggerFactory method
Sets the ILoggerFactory that will be used for logging.
public MySqlDataSourceBuilder UseLoggerFactory(ILoggerFactory? loggerFactory)
parameter | description |
---|---|
loggerFactory | The logger factory. |
Return Value
This builder, so that method calls can be chained.
See Also
- class MySqlDataSourceBuilder
- namespace MySqlConnector
- assembly MySqlConnector