Commit Graph

13 Commits (fe262766b4d46ddb1cc4e682e31c433a98391665)

Author SHA1 Message Date
Kevin Wan 259a5a13e7
chore: fix data race (#1593) 3 years ago
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
3 years ago
Kevin Wan de5ed6a677
feat: support %w in logx.Errorf (#1278) 3 years ago
Kevin Wan fbf2eebc42
add Errorv/Infov/Slowv (#909) 3 years ago
Kevin Wan 872e75e10d
add logx.DisableStat() to disable stat logs (#893)
* add logx.DisableStat() to disable stat logs

* refactor logx code
3 years ago
kevin 695ea69bfc add logx.Alert 4 years ago
kevin fe3739b7f3 fix golint issues 4 years ago
kevin 3733b06f1b fix data race in tests 4 years ago
kevin 6db294b5cc add more tests 4 years ago
kevin ce42281568 add more tests 4 years ago
kevin 8745039877 move lang.Must into logx.Must to make sure output fatal message as json 4 years ago
kevin c57051ce63 use strings.Contains instead of strings.Index 4 years ago
kevin 7e3a369a8f initial import 4 years ago