Commit Graph

6 Commits

Author SHA1 Message Date
cong
61e562d0c7
refactor(rest): keep rest log collector context key private (#3407) 2023-07-10 01:52:26 +00:00
Kevin Wan
14caf5c799
chore: simplify tests with logtest (#3184) 2023-04-29 20:36:29 +08:00
Kevin Wan
05a5de7c6d
chore: fix lint errors (#2520) 2022-10-17 06:30:58 +08:00
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
2022-05-03 17:34:26 +08:00
Kevin Wan
3b7ca86e4f
chore: add unit tests (#1615)
* test: add more tests

* test: add more tests
2022-03-04 17:54:09 +08:00
kevin
0897f60c5d rename ngin to rest 2020-07-31 11:14:48 +08:00