Skip to content

Commit

Permalink
chore(logger): explicitly set config of Default Logger (#4605)
Browse files Browse the repository at this point in the history
  • Loading branch information
HurSungYun authored Aug 11, 2021
1 parent 21e85b8 commit a83d25e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions logger/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,10 @@ type Interface interface {
var (
Discard = New(log.New(ioutil.Discard, "", log.LstdFlags), Config{})
Default = New(log.New(os.Stdout, "\r\n", log.LstdFlags), Config{
SlowThreshold: 200 * time.Millisecond,
LogLevel: Warn,
Colorful: true,
SlowThreshold: 200 * time.Millisecond,
LogLevel: Warn,
IgnoreRecordNotFoundError: false,
Colorful: true,
})
Recorder = traceRecorder{Interface: Default, BeginAt: time.Now()}
)
Expand Down

0 comments on commit a83d25e

Please sign in to comment.