logger/readme.md
2021-12-14 10:53:50 +08:00

14 lines
290 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

### Logger
基于Zap整合的日志框架可自由组合输出到Console、File、Loki
### Demo
```go
package main
import "gitee.ltd/lxh/logger"
func main() {
logger.InitLogger(logger.LogConfig{Mode: logger.Dev, LokiEnable: false, FileEnable: true})
logger.Say.Debug("芜湖")
}
```