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:
@@ -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
|
||||
```
|
||||
Reference in New Issue
Block a user