1
0
mirror of https://github.com/go-kratos/kratos.git synced 2026-05-22 10:15:24 +02:00

readme:add log third party log library readme (#1753)

This commit is contained in:
haiyux
2022-01-07 17:54:40 +08:00
committed by GitHub
parent da70e22201
commit 1c3185f9e5
+14
View File
@@ -34,3 +34,17 @@ log.Info("info log")
log.Warn("warn log")
log.Error("warn log")
```
## Third party log library
### zap
```shell
go get -u github.com/go-kratos/kratos/contrib/log/zap/v2
```
### fluent
```shell
go get -u github.com/go-kratos/kratos/contrib/log/fluent/v2
```