Skip to content

Commit

Permalink
chore: reformat the default log string
Browse files Browse the repository at this point in the history
  • Loading branch information
panjf2000 committed Mar 23, 2023
1 parent 0313eff commit 3110e41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ants.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ var (
return 1
}()

defaultLogger = Logger(log.New(os.Stderr, "", log.LstdFlags))
defaultLogger = Logger(log.New(os.Stderr, "[ants]: ", log.LstdFlags|log.Lmsgprefix|log.Lmicroseconds))

// Init an instance pool when importing ants.
defaultAntsPool, _ = NewPool(DefaultAntsPoolSize)
Expand Down

0 comments on commit 3110e41

Please sign in to comment.