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
|
259a5a13e7
|
chore: fix data race (#1593)
|
2022-02-28 23:17:51 +08:00 |
|
Kevin Wan
|
bf2feee5b7
|
feat: implement console plain output for debug logs (#1456)
* feat: implement console plain output for debug logs
* chore: rename console encoding to plain
* chore: refactor names
|
2022-01-17 12:43:15 +08:00 |
|
Kevin Wan
|
de5ed6a677
|
feat: support %w in logx.Errorf (#1278)
|
2021-11-26 15:57:23 +08:00 |
|
Kevin Wan
|
fbf2eebc42
|
add Errorv/Infov/Slowv (#909)
|
2021-08-13 18:28:39 +08:00 |
|
Kevin Wan
|
872e75e10d
|
add logx.DisableStat() to disable stat logs (#893)
* add logx.DisableStat() to disable stat logs
* refactor logx code
|
2021-08-10 16:55:38 +08:00 |
|
kevin
|
695ea69bfc
|
add logx.Alert
|
2020-10-17 19:11:01 +08:00 |
|
kevin
|
fe3739b7f3
|
fix golint issues
|
2020-10-16 11:13:55 +08:00 |
|
kevin
|
3733b06f1b
|
fix data race in tests
|
2020-10-09 14:15:27 +08:00 |
|
kevin
|
6db294b5cc
|
add more tests
|
2020-10-07 19:33:52 +08:00 |
|
kevin
|
ce42281568
|
add more tests
|
2020-10-01 17:27:21 +08:00 |
|
kevin
|
8745039877
|
move lang.Must into logx.Must to make sure output fatal message as json
|
2020-08-14 15:08:06 +08:00 |
|
kevin
|
c57051ce63
|
use strings.Contains instead of strings.Index
|
2020-08-11 17:18:51 +08:00 |
|
kevin
|
7e3a369a8f
|
initial import
|
2020-07-26 17:09:05 +08:00 |
|