1
0
mirror of https://github.com/go-kratos/kratos.git synced 2024-12-28 21:09:04 +02:00
Commit Graph

12 Commits

Author SHA1 Message Date
言肆
d4edd442bb
feat(log): Prevent log.Helper sprintf from running early #3209 (#3221)
* feat(log): Prevent log.Helper sprintf from running early

* fix(log): add benchmark helper filter level

* chore(log): rename log Level Enabled
2024-03-15 11:09:57 +08:00
jessetang
9a973d29c2
fix: rectification of non-standard lint codes (#2746) 2023-03-21 15:33:08 +08:00
Tony Chen
79497dd3a5
log: fix global logger (#2034)
* log: fix global logger
2022-05-24 00:40:45 +08:00
Eng Zer Jun
77b16286f8
refactor: move from io/ioutil to io and os packages (#1633)
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil. This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-11-16 13:22:35 +08:00
海雨
7cd9503b95
test: add log test (#1576)
* test: add log test

* fix

* fix lint
2021-10-21 17:39:33 +08:00
包子
250bb5c8e7
feat(log/helper): log helper add WithMessageKey option (#1541) 2021-10-11 21:52:12 +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
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
21557b38f6
log: add log context (#766)
* add log context & valuer
2021-03-14 15:36:00 +08:00
chenzhihui
3566386a89 init v2 2021-02-17 17:14:47 +08:00