Commit Graph

15 Commits (72ebbb9774799c9a36ec8352faa1c6bdfd3ecc1b)

Author SHA1 Message Date
Kevin Wan aa5118c2aa
chore: refine tests (#1864) 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
Kevin Wan 259a5a13e7
chore: fix data race (#1593) 3 years ago
Fyn cf7c7cb392
build: update goctl dependency ddl-parser to v1.0.3 (#1586)
* build: update goctl dependency ddl-parser to v1.0.3

* fix: race condition when testing logx

Resolves: #1587
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 914692cc82
fix #1309 (#1317) 3 years ago
Kevin Wan 10e7922597
feat: opentelemetry integration, removed self designed tracing (#1111)
* feat: opentelemetry integration, removed self designed tracing

* feat: support zipkin on opentelemetry integration

* feat: support zipkin on opentelemetry integration, enable it in conf

* style: format code

* fix: support logx without exporter configured

* fix: check return values

* refactor: simplify code

* refactor: simplify opentelemetry integration

* ci: fix staticcheck errors
3 years ago
Bo-Yi Wu 73906f996d
chore(format): change by gofumpt tool (#697)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
4 years ago
Kevin Wan 226513ed60
fix golint issues in core/logx (#496) 4 years ago
wayne ec2a9f2c57
fix tracelogger_test TestTraceLog (#271) 4 years ago
kevin c32759d735 make tests race-free 4 years ago
kevin be39133dba fix data race in tests 4 years ago
kevin 3733b06f1b fix data race in tests 4 years ago
kevin 09b7625f06 add more tests 4 years ago
kevin be9c48da7f add tracing logs in server side and client side 4 years ago