pull/258/head
wangchuxiao 3 years ago
parent 52c71e3843
commit eec8eb4766

@ -57,7 +57,7 @@ func initMysqlDB() {
Writer{},
logger.Config{
SlowThreshold: 200 * time.Millisecond, // Slow SQL threshold
LogLevel: logger.Silent, // Log level
LogLevel: logger.Error, // Log level
IgnoreRecordNotFoundError: true, // Ignore ErrRecordNotFound error for logger
Colorful: true, // Disable color
},

Loading…
Cancel
Save