1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-02-05 13:15:11 +02:00

41 Commits

Author SHA1 Message Date
海雨
7cd9503b95
test: add log test (#1576)
* test: add log test

* fix

* fix lint
2021-10-21 17:39:33 +08:00
sxpsxp12
63b1764a04
fix: fix log.Helper.WithContext msg key missing (#1571) 2021-10-20 18:50:52 +08:00
letian
3d23d295c4
feat(log): default message key (#1545) 2021-10-13 16:15:34 +08:00
包子
250bb5c8e7
feat(log/helper): log helper add WithMessageKey option (#1541) 2021-10-11 21:52:12 +08:00
404_K
aba30889c9
chrone: fix doc error (#1498) 2021-09-22 09:38:33 +08:00
Kagaya
f7588a47de
fix: ci lint error (#1391)
* fix lint check

* fix lll lint error

* fix build error

* fix gomnd

* fix shadow declaration

* add make test command

* update
2021-08-31 10:14:57 +08:00
包子
7b6332ee75
deps: middleware add separate go.mod and removes framework deps (#1385)
* deps: middleware add separate go.mod and removes framework deps
2021-08-30 23:07:31 +08:00
Xudong Cai
b44e47b087
refactor: optimize the code and use golangci-lint to check for any errors (#1298)
* feat: optimize the code and use golangci-lint to check for any errors

* fix: TestLogger unit test
2021-08-16 10:35:08 +08:00
拉小轰
5d07a94b16
use "and" replace "sub" (#1207) 2021-07-18 15:01:08 +08:00
longxboy
07f9fa3e91
change debug level to -1 (#1105) 2021-06-24 18:04:55 +08:00
包子
b4dd478bc9
update log/readme.md (#1085)
* update log/readme.md

Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
2021-06-20 21:23:57 +08:00
拉小轰
a928622f27
golang syntax log README.md (#1084)
* golang syntax log README.md

* golang syntax
2021-06-20 21:10:40 +08:00
包子
53522c4098
add log fatal level (#1067) 2021-06-16 14:53:44 +08:00
包子
258e911f4f
fix log filter (#1056)
* fix log filter

Co-authored-by: Tony Chen <zhihui_chen@foxmail.com>
2021-06-14 21:00:18 +08:00
chenzhihui
dc476c3b57 fix 2021-06-14 11:21:56 +08:00
chenzhihui
b378f993c4 fix 2021-06-14 11:19:39 +08:00
chenzhihui
91a01798f4 fix 2021-06-14 11:18:44 +08:00
chenzhihui
f92d4742bb fix 2021-06-14 11:12:58 +08:00
包子
ba2607530d fix log filter 2021-06-14 11:02:09 +08:00
chenzhihui
51725f1912 fix 2021-06-14 10:50:22 +08:00
chenzhihui
0e6c53fda9 fix 2021-06-14 10:25:59 +08:00
chenzhihui
7340fecf27 fix 2021-06-14 10:14:23 +08:00
包子
34d6d7b90e add log filter benchmark 2021-06-14 07:50:44 +08:00
包子
7bebc58381 modify log caller 2021-06-14 01:47:48 +08:00
包子
38673521e4 clean log filter 2021-06-14 01:11:24 +08:00
包子
ecb0030d48 update log filter 2021-06-14 00:54:48 +08:00
包子
58c99b2768 clean log filter and update value caller 2021-06-14 00:35:39 +08:00
包子
582a24c0a6 add log filter 2021-06-14 00:14:32 +08:00
包子
5d1228a5d7
fix log caller (#1025) 2021-06-09 20:44:23 +08:00
longXboy
fd84ed4b52 fix spanid 2021-06-03 19:20:34 +08:00
longXboy
c2f077e7f1 add spanid valuer 2021-06-03 19:20:34 +08:00
longXboy
08d4db2c0c add default tracer valuer 2021-06-03 19:20:34 +08:00
longxboy
4860f42637
add ctx for logger (#998)
* add ctx for trace
2021-06-03 16:56:55 +08:00
Tony Chen
d78eb3ee4b
log: add level printer (#918)
* add level printer

* fix helper args

* fix test

* Update README.md
2021-05-17 16:34:28 +08:00
Tony Chen
801f89b6db
log: rename Print to Log (#886)
* rename Print to Log
2021-05-01 01:15:30 +08:00
Tony Chen
0b93bef031
add log verbose (#772) 2021-03-16 22:52:00 +08:00
Tony Chen
74272546ca
fix json tag (#769) 2021-03-15 17:06:06 +08:00
Tony Chen
21557b38f6
log: add log context (#766)
* add log context & valuer
2021-03-14 15:36:00 +08:00
Tony Chen
f86c91849b
fix lint check (#746) 2021-03-05 22:40:38 +08:00
Tony Chen
18d43d6006
add logger wrapper (#715)
* add logger wrapper
2021-02-22 17:50:43 +08:00
chenzhihui
3566386a89 init v2 2021-02-17 17:14:47 +08:00