Browse Source

更新read me

tags/v1.2.2^0
liangzy 4 years ago
parent
commit
3fc7c01156
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      README.md

+ 2
- 1
README.md View File

@@ -12,7 +12,8 @@ import "golib.gaore.com/GaoreGo/grlogs"
grlogs.Get("test", 128).Info("hello word")
grlogs.Get("test").Warning("hello word")
```
lable 为通
`Get` 方法中 `lable` 参数为标签,为识别分类所用,在Grlogs里一个分类使用一个管道进行日志

3. 进阶用法
```go
logger := grlogs.GetEs("wifi")


Loading…
Cancel
Save