Rename SetQueryLoggerFunc to SetQueryLogger

This commit is contained in:
go-jet 2022-01-20 16:51:32 +01:00
parent 605f1c8e3d
commit 34f84c7170
7 changed files with 15 additions and 15 deletions

View file

@ -76,7 +76,7 @@ func init() {
loggedDebugSQL = statement.DebugSql()
})
sqlite.SetQueryLoggerFunc(func(ctx context.Context, info sqlite.QueryInfo) {
sqlite.SetQueryLogger(func(ctx context.Context, info sqlite.QueryInfo) {
queryInfo = info
callerFile, callerLine, callerFunction = info.Caller()
})