jakezhu9
85af73a84b
test(log): increase tests coverage ( #2197 )
3 years ago
Betula-L
e09d294388
feat: add logrus to contrib log ( #2077 )
...
* add logrus to contrib log
* add readme
* fix test
* fix lint
* fix lint
* fix lint
3 years ago
Tony Chen
97c103a395
fix with logger ( #2062 )
...
* fix with logger
3 years ago
Tony Chen
dccee86141
log: remove component logger to use global logger ( #2061 )
...
* remove component logger to user global logger
3 years ago
longxboy
944d480f78
feat:add context for log ( #2041 )
...
* add context
3 years ago
Tony Chen
79497dd3a5
log: fix global logger ( #2034 )
...
* log: fix global logger
3 years ago
songzhibin97
2eb615b38a
style:log ( #2014 )
3 years ago
Elric Li
eb2dcae83d
feat(log): Helper implemented io.Writer ( #1927 )
...
* feat(log): Add writerWrapper implementing io.Writer
* fix(kratos): fix format has wrong type
* fix(log): rename writerOption to WriterOptionFn.
3 years ago
Cluas
13208d7908
fix(log): FilterFunc keyvals lost logger prefix ( #1901 )
3 years ago
Cluas
d4c0c57681
feat(log): log load config only when Debug level ( #1899 )
3 years ago
Tony Chen
51fb0e0440
fix(log): call depth ( #1885 )
...
* fix log caller
3 years ago
Chen Xinyuan
4387085047
fix: fix some typos ( #1869 )
3 years ago
haiyux
9dec67bddd
update contrib readme ( #1831 )
3 years ago
haiyux
9bf178b1d1
fix:fix log caller error ( #1773 )
...
* fix:fix log caller error
3 years ago
realityone
83fad75c0f
make logger appliance as logger proxy ( #1765 )
3 years ago
MARATRIX Li
c6c5e4595c
optimization: optimize global logger ( #1763 )
3 years ago
realityone
0ed2e0f379
feat(log): add global logger appliance, as process level default logger ( #1761 )
...
* add global logger appliance, as process level default logger
* replace DefaultLogger as global logger
3 years ago
haiyux
1c3185f9e5
readme:add log third party log library readme ( #1753 )
3 years ago
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>
3 years ago
海雨
7cd9503b95
test: add log test ( #1576 )
...
* test: add log test
* fix
* fix lint
3 years ago
sxpsxp12
63b1764a04
fix: fix log.Helper.WithContext msg key missing ( #1571 )
3 years ago
letian
3d23d295c4
feat(log): default message key ( #1545 )
3 years ago
包子
250bb5c8e7
feat(log/helper): log helper add WithMessageKey option ( #1541 )
3 years ago
404_K
aba30889c9
chrone: fix doc error ( #1498 )
3 years ago
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
4 years ago
包子
7b6332ee75
deps: middleware add separate go.mod and removes framework deps ( #1385 )
...
* deps: middleware add separate go.mod and removes framework deps
4 years ago
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
4 years ago
拉小轰
5d07a94b16
use "and" replace "sub" ( #1207 )
4 years ago
longxboy
07f9fa3e91
change debug level to -1 ( #1105 )
4 years ago
包子
b4dd478bc9
update log/readme.md ( #1085 )
...
* update log/readme.md
Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
4 years ago
拉小轰
a928622f27
golang syntax log README.md ( #1084 )
...
* golang syntax log README.md
* golang syntax
4 years ago
包子
53522c4098
add log fatal level ( #1067 )
4 years ago
包子
258e911f4f
fix log filter ( #1056 )
...
* fix log filter
Co-authored-by: Tony Chen <zhihui_chen@foxmail.com>
4 years ago
chenzhihui
dc476c3b57
fix
4 years ago
chenzhihui
b378f993c4
fix
4 years ago
chenzhihui
91a01798f4
fix
4 years ago
chenzhihui
f92d4742bb
fix
4 years ago
包子
ba2607530d
fix log filter
4 years ago
chenzhihui
51725f1912
fix
4 years ago
chenzhihui
0e6c53fda9
fix
4 years ago
chenzhihui
7340fecf27
fix
4 years ago
包子
34d6d7b90e
add log filter benchmark
4 years ago
包子
7bebc58381
modify log caller
4 years ago
包子
38673521e4
clean log filter
4 years ago
包子
ecb0030d48
update log filter
4 years ago
包子
58c99b2768
clean log filter and update value caller
4 years ago
包子
582a24c0a6
add log filter
4 years ago
包子
5d1228a5d7
fix log caller ( #1025 )
4 years ago
longXboy
fd84ed4b52
fix spanid
4 years ago
longXboy
c2f077e7f1
add spanid valuer
4 years ago