Commit Graph

8 Commits (105ab590fff8d9d8187bf2401aba9a6125ca5d5e)

Author SHA1 Message Date
MarkJoyMa 32600f2619
fix: adjust log encode output mode (#3676) 1 year ago
MarkJoyMa 151768ef82
feat: optimize logx print error (#3649) 1 year ago
Kevin Wan 452c9dbcaf
chore: add more tests (#3315) 2 years ago
Kevin Wan a019a1f59f
fix: conf anonymous overlay problem (#2847) 2 years ago
Kevin Wan 74e0676617
feat: add config to truncate long log content (#2767) 2 years ago
Kevin Wan 59c0013cd1
feat: add logc package, support AddGlobalFields for both logc and logx. (#2463)
* feat: add logc package

* feat: add logc, add AddGlobalFields for both logc and logx

* chore: add benchmarks

* chore: add more tests

* chore: simplify globalFields in logx

* chore: remove outdated comments
2 years ago
Kevin Wan 6d2b9fd904
chore: improve codecov (#1878) 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