Rename LoggableStatement to PrintableStatement.
This commit is contained in:
parent
cd3325054b
commit
e54e8fcabf
5 changed files with 9 additions and 9 deletions
|
|
@ -52,7 +52,7 @@ var loggedSQLArgs []interface{}
|
|||
var loggedDebugSQL string
|
||||
|
||||
func init() {
|
||||
postgres.SetLogger(func(ctx context.Context, statement postgres.LoggableStatement) {
|
||||
postgres.SetLogger(func(ctx context.Context, statement postgres.PrintableStatement) {
|
||||
loggedSQL, loggedSQLArgs = statement.Sql()
|
||||
loggedDebugSQL = statement.DebugSql()
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue