Kevin Wan
|
0f1d4c6bca
|
optimize: improve performance on log disabled (#3916)
|
10 months ago |
Kevin Wan
|
60a13f1e53
|
chore: add more tests (#3018)
|
2 years ago |
Kevin Wan
|
74e0676617
|
feat: add config to truncate long log content (#2767)
|
2 years ago |
MarkJoyMa
|
e6aa6fc361
|
feat: add log debug level (#2411)
|
2 years ago |
Kevin Wan
|
34eb3fc12e
|
chore: refactoring logx (#2181)
|
2 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
|
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 |