mirror of https://github.com/panjf2000/ants.git
chore: reformat the default log string
This commit is contained in:
parent
0313effc53
commit
3110e41921
2
ants.go
2
ants.go
|
@ -82,7 +82,7 @@ var (
|
||||||
return 1
|
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.
|
// Init an instance pool when importing ants.
|
||||||
defaultAntsPool, _ = NewPool(DefaultAntsPoolSize)
|
defaultAntsPool, _ = NewPool(DefaultAntsPoolSize)
|
||||||
|
|
Loading…
Reference in New Issue