mirror of
https://gitee.com/johng/gf
synced 2026-07-08 22:40:30 +08:00
logging content update for package gdb
This commit is contained in:
@ -642,7 +642,7 @@ func (c *Core) writeSqlToLogger(ctx context.Context, sql *Sql) {
|
||||
}
|
||||
}
|
||||
s := fmt.Sprintf(
|
||||
"[%3d ms] [%s] [%s:%d] %s%s",
|
||||
"[%3d ms] [%s] [%s:%-3d] %s%s",
|
||||
sql.End-sql.Start, sql.Group, sqlTypeKey, sql.RowsAffected, transactionIdStr, sql.Format,
|
||||
)
|
||||
if sql.Error != nil {
|
||||
|
||||
Reference in New Issue
Block a user