We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc9109a commit 01782adCopy full SHA for 01782ad
Sources/PostgreSQL/Database/PostgreSQLDatabase.swift
@@ -17,6 +17,7 @@ public final class PostgreSQLDatabase: Database {
17
public func makeConnection(using connectionConfig: PostgreSQLConnectionConfig, on worker: Worker) -> Future<PostgreSQLConnection> {
18
do {
19
let client = try PostgreSQLConnection.connect(hostname: config.hostname, port: config.port, on: worker)
20
+ client.logger = logger
21
return client.authenticate(username: config.username).transform(to: client)
22
} catch {
23
return Future(error: error)
0 commit comments