From 1c3185f9e50c49cb91571b00b381e16d7c4b8663 Mon Sep 17 00:00:00 2001 From: haiyux Date: Fri, 7 Jan 2022 17:54:40 +0800 Subject: [PATCH] readme:add log third party log library readme (#1753) --- log/README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/log/README.md b/log/README.md index 8f4f70e14..d640e7337 100644 --- a/log/README.md +++ b/log/README.md @@ -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 +``` \ No newline at end of file