This website works better with JavaScript.
Home
Explore
Help
Sign In
GaoreGo
/
grlogs
Watch
8
Star
1
Fork
1
Code
Releases
8
Activity
Browse Source
更新read me
tags/v1.3.0
liangzy
4 years ago
parent
e6655504e9
commit
1e57935100
1 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
README.md
+ 4
- 0
README.md
View File
@@ -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/` 文件夹 请务必在项目构建阶段创建该目录
Write
Preview
Loading…
Cancel
Save