Kevin Wan
159ecb7386
chore: fix warnings ( #3989 )
9 months ago
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 )
2 years ago
Ron_haur
da81d8f774
Fix: logx with Compress auto delete old logs ( #3329 )
...
Co-authored-by: haoran.ren <haoran.ren@mihoyo.com>
2 years ago
Kevin Wan
60a13f1e53
chore: add more tests ( #3018 )
2 years ago
edieruby
b1c3c21c81
fix: log currentSize should not be 0 when file exists and size is not 0 ( #2639 )
2 years ago
Kevin Wan
22d0a2120a
chore: replace fmt.Fprint ( #2425 )
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
6c94e4652e
chore: better mongo logs ( #1965 )
...
* chore: better mongo logs
* chore: add comments
3 years ago
Kevin Wan
69c2bad410
feat: logx with color ( #1872 )
...
* feat: logx with color
* chore: update logs
* fix test error
* chore: change colors of http codes
* chore: add comments
* chore: use faith/color instead of ascii code color
* chore: update colors
* chore: update colors
* chore: fix duplicated slowcall text
* chore: remove slowcall colors
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
bab72b7630
chore: use time.Now() instead of timex.Time() because go optimized it ( #1860 )
3 years ago
Kevin Wan
a91c3907a8
feat: rename module from tal-tech to zeromicro ( #1413 )
3 years ago
Kevin Wan
65905b914d
ci: add reviewdog ( #1096 )
3 years ago
Bo-Yi Wu
afd9ff889e
chore: update code format. ( #628 )
4 years ago
Kevin Wan
226513ed60
fix golint issues in core/logx ( #496 )
4 years ago
Kevin Wan
5e969cbef0
fix golint issues, else blocks ( #457 )
4 years ago
kevin
ba7851795b
add more tests
4 years ago
kevin
0a7e0cce77
update package reference
4 years ago
kevin
7e3a369a8f
initial import
4 years ago