更新read me
This commit is contained in:
parent
e6655504e9
commit
1e57935100
@ -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/` 文件夹 请务必在项目构建阶段创建该目录
|
Loading…
Reference in New Issue
Block a user