更新read me

This commit is contained in:
liangzy 2020-04-28 19:56:24 +08:00
parent e6655504e9
commit 1e57935100

View File

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