chore(logger): optimize
This commit is contained in:
parent
6eacaebf13
commit
f969e05d8b
@ -150,6 +150,8 @@ func (l *logger) Error(ctx context.Context, msg string, data ...interface{}) {
|
||||
}
|
||||
|
||||
// Trace print sql message
|
||||
//
|
||||
//nolint:cyclop
|
||||
func (l *logger) Trace(ctx context.Context, begin time.Time, fc func() (string, int64), err error) {
|
||||
if l.LogLevel <= Silent {
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user