feat: SlowThreshold set to 1 second

This commit is contained in:
bryan 2025-06-13 18:09:19 +08:00
parent 8294536cab
commit efa3d0f877

View File

@ -59,7 +59,7 @@ var (
// // defaultLogger defaultLogger logger // // defaultLogger defaultLogger logger
// //
defaultLogger = New(LogConfig{ defaultLogger = New(LogConfig{
SlowThreshold: 200 * time.Millisecond, SlowThreshold: 1000 * time.Millisecond,
LogLevel: Info, LogLevel: Info,
IgnoreRecordNotFoundError: false, IgnoreRecordNotFoundError: false,
Colorful: true, Colorful: true,