Commit Graph

2 Commits (74b87ac9fd042a8187ba97a4e4aa85adf1f4328a)

Author SHA1 Message Date
Kevin Wan bab72b7630
chore: use time.Now() instead of timex.Time() because go optimized it (#1860) 3 years ago
Kevin Wan ac321fc146
feat: add fields with logx methods, support using third party logging libs. (#1847)
* backup

* simplify

* chore: remove unused pool

* chore: fix lint errors

* chore: use strings.Builder instead of bytes.Buffer

* test: add more tests

* chore: fix reviewdog

* test: fix data race

* feat: make logger customizable

* chore: fix reviewdog

* test: fix fails

* chore: fix set writer twice

* chore: use context instead of golang.org context

* chore: specify uint32 for level types
3 years ago