This commit is contained in:
parent
a150f6ee8b
commit
c03955f284
|
@ -17,10 +17,8 @@ func (sqlLogger) Log(ctx context.Context, level sqldblogger.Level, msg string, d
|
||||||
msg = strings.TrimSpace(msg)
|
msg = strings.TrimSpace(msg)
|
||||||
|
|
||||||
switch level {
|
switch level {
|
||||||
case sqldblogger.LevelDebug, sqldblogger.LevelTrace:
|
case sqldblogger.LevelDebug, sqldblogger.LevelTrace, sqldblogger.LevelInfo:
|
||||||
lvl = slog.LevelDebug
|
lvl = slog.LevelDebug
|
||||||
case sqldblogger.LevelInfo:
|
|
||||||
lvl = slog.LevelInfo
|
|
||||||
case sqldblogger.LevelError:
|
case sqldblogger.LevelError:
|
||||||
lvl = slog.LevelError
|
lvl = slog.LevelError
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue