Pomelo.EntityFrameworkCore.MySql icon indicating copy to clipboard operation
Pomelo.EntityFrameworkCore.MySql copied to clipboard

Adjust syntax of log fragment

Open klemmchr opened this issue 3 years ago • 0 comments

This is just small adjust regarding the log output of the options extension.

I am using a custom extension that also adds to the log. The missing = on the server version makes the output harder to read. It seems that Microsoft uses the format option=value as a convention.

This is how it looks for me right now: Entity Framework Core 6.0.1 initialized 'IdentityDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql:6.0.1' with options: SensitiveDataLoggingEnabled DetailedErrorsEnabled MaxPoolSize=1024 ServerVersion 10.8.3-mariadb ScopedPrefix=Identity

This is how it would look like after merging: Entity Framework Core 6.0.1 initialized 'IdentityDbContext' using provider 'Pomelo.EntityFrameworkCore.MySql:6.0.1' with options: SensitiveDataLoggingEnabled DetailedErrorsEnabled MaxPoolSize=1024 ServerVersion=10.8.3-mariadb ScopedPrefix=Identity

klemmchr avatar Jul 28 '22 22:07 klemmchr