go-zero/core/logx
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
..
config.go feat: implement console plain output for debug logs (#1456) 2022-01-17 12:43:15 +08:00
durationlogger_test.go feat: add fields with logx methods, support using third party logging libs. (#1847) 2022-05-03 17:34:26 +08:00
durationlogger.go feat: add fields with logx methods, support using third party logging libs. (#1847) 2022-05-03 17:34:26 +08:00
lesslogger_test.go feat: add fields with logx methods, support using third party logging libs. (#1847) 2022-05-03 17:34:26 +08:00
lesslogger.go fix golint issues in core/logx (#496) 2021-02-20 22:45:58 +08:00
lesswriter_test.go fix golint issues in core/logx (#496) 2021-02-20 22:45:58 +08:00
lesswriter.go fix golint issues in core/logx (#496) 2021-02-20 22:45:58 +08:00
limitedexecutor_test.go feat: rename module from tal-tech to zeromicro (#1413) 2022-01-04 15:51:32 +08:00
limitedexecutor.go feat: rename module from tal-tech to zeromicro (#1413) 2022-01-04 15:51:32 +08:00
logger.go feat: add fields with logx methods, support using third party logging libs. (#1847) 2022-05-03 17:34:26 +08:00
logs_test.go feat: add fields with logx methods, support using third party logging libs. (#1847) 2022-05-03 17:34:26 +08:00
logs.go feat: add fields with logx methods, support using third party logging libs. (#1847) 2022-05-03 17:34:26 +08:00
logwriter.go feat: add fields with logx methods, support using third party logging libs. (#1847) 2022-05-03 17:34:26 +08:00
rotatelogger_test.go feat: add fields with logx methods, support using third party logging libs. (#1847) 2022-05-03 17:34:26 +08:00
rotatelogger.go feat: rename module from tal-tech to zeromicro (#1413) 2022-01-04 15:51:32 +08:00
syslog_test.go feat: add fields with logx methods, support using third party logging libs. (#1847) 2022-05-03 17:34:26 +08:00
syslog.go initial import 2020-07-26 17:09:05 +08:00
tracelogger_test.go feat: add fields with logx methods, support using third party logging libs. (#1847) 2022-05-03 17:34:26 +08:00
tracelogger.go feat: add fields with logx methods, support using third party logging libs. (#1847) 2022-05-03 17:34:26 +08:00
util_test.go feat: add fields with logx methods, support using third party logging libs. (#1847) 2022-05-03 17:34:26 +08:00
util.go feat: add fields with logx methods, support using third party logging libs. (#1847) 2022-05-03 17:34:26 +08:00
vars.go feat: add fields with logx methods, support using third party logging libs. (#1847) 2022-05-03 17:34:26 +08:00
writer_test.go feat: add fields with logx methods, support using third party logging libs. (#1847) 2022-05-03 17:34:26 +08:00
writer.go feat: add fields with logx methods, support using third party logging libs. (#1847) 2022-05-03 17:34:26 +08:00