Skip to content

Add support for specifying a query logging level at the SQLKit layer

Compare
Choose a tag to compare
@VaporBot VaporBot released this 06 May 08:43
· 15 commits to main since this release
054ea50
This patch was authored and released by @gwynne.

Add SQLDatabase.queryLogLevel protocol requirement, defaulting to .debug for databases which don't implement it. Each individual driver must implement support for this logging. This corresponds to the sqlLogLevel configuration in FluentPostgresDriver and is the first step in normalizing support for it at the PostgresKit/MySQLKit/SQLiteKit layer.