Commit Graph

17 Commits (0449450c64ba295291ff71bf8d4690f9da3e2d66)

Author SHA1 Message Date
Kevin Wan 4222fd97bc
chore: add test for logging rotate size (#3587) 1 year ago
xt-inking 5e435b6a76
fix: avoid losing logs before closing (#3573) 1 year ago
Kevin Wan efa6940001
chore: improve logx gzip (#3332) 1 year ago
Kevin Wan 44c8d6f269
chore: add more tests (#3304) 2 years ago
Kevin Wan 28d3905731
chore: add more tests (#3294) 2 years ago
Kevin Wan 99a7e6600d
feat: use dependabot for goctl (#2869)
* feat: use dependabot for goctl

* chore: add more tests

* chore: remove temp file
2 years ago
Kevin Wan 92145b56dc
chore: refactoring (#2182) 2 years ago
Kevin Wan 34eb3fc12e
chore: refactoring logx (#2181) 2 years ago
SgtDaJim 101304be53
feat: logx support logs rotation based on size limitation. (#1652) (#2167)
* feat: logx support logs rotation based on size limitation. (#1652)

implementation of #1652

Totally compatible with the old logx.LogConf. No effect if users do not change their options.

* feat: logx support logs rotation based on size limitation. (#1652)

implementation of #1652

Totally compatible with the old logx.LogConf. No effect if users do not change their options.

* feat: logx support logs rotation based on size limitation. (#1652)

implementation of #1652

Totally compatible with the old logx.LogConf. No effect if users do not change their options.

* feat: logx support logs rotation based on size limitation. (#1652)

implementation of #1652

Totally compatible with the old logx.LogConf. No effect if users do not change their options.
2 years ago
Kevin Wan af05219b70
test: make tests stable (#1968)
* test: make tests stable

* test: fix fails
3 years ago
Kevin Wan 321a20add6
chore: update roadmap (#1948) 3 years ago
Kevin Wan d0a59b13a6
chore: fix deprecated usages (#1871)
* add conf documents

* chore: use {} instead of () for environment variables

* chore: fix deprecated usages

* chore: fix unstable tests

* chore: show stack on github actions
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
Kevin Wan a91c3907a8
feat: rename module from tal-tech to zeromicro (#1413) 3 years ago
Kevin Wan 872c50b71a
chore: make comment accurate (#1055) 3 years ago
Kevin Wan f4bb9f5635
fix test error on ubuntu (#1048) 3 years ago
kevin ba7851795b add more tests 4 years ago