diff --git a/README.md b/README.md index 1d2bdf7..bac496a 100644 --- a/README.md +++ b/README.md @@ -27,5 +27,9 @@ logger.Info("出错了") ```shell script export GRLOG_APP_NAME=mkt.gaore.com; ``` +还需要额外引入es库,完成初始化动作 +```go +import _ "golib.gaore.com/GaoreGo/grlogs/logs/es" +``` 5. 文件日志会写入到 `./runtime/logs/` 文件夹 请务必在项目构建阶段创建该目录 \ No newline at end of file