更新read me
This commit is contained in:
		
							parent
							
								
									8d7fdb2a98
								
							
						
					
					
						commit
						3fc7c01156
					
				@ -12,7 +12,8 @@ import "golib.gaore.com/GaoreGo/grlogs"
 | 
				
			|||||||
 grlogs.Get("test", 128).Info("hello word")
 | 
					 grlogs.Get("test", 128).Info("hello word")
 | 
				
			||||||
 grlogs.Get("test").Warning("hello word")
 | 
					 grlogs.Get("test").Warning("hello word")
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
lable 为通
 | 
					`Get` 方法中 `lable` 参数为标签,为识别分类所用,在Grlogs里一个分类使用一个管道进行日志
 | 
				
			||||||
 | 
					
 | 
				
			||||||
3. 进阶用法
 | 
					3. 进阶用法
 | 
				
			||||||
```go
 | 
					```go
 | 
				
			||||||
logger := grlogs.GetEs("wifi")
 | 
					logger := grlogs.GetEs("wifi")
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user