2021-12-15 09:21:08 +08:00
2021-12-14 10:53:50 +08:00
2021-12-14 10:53:50 +08:00
2021-12-14 10:53:50 +08:00
2021-12-14 10:53:50 +08:00
2021-12-14 10:53:50 +08:00
2021-12-14 10:53:50 +08:00
2021-12-14 10:53:50 +08:00
🎨 优化
2021-12-15 09:21:08 +08:00
2021-12-14 10:53:50 +08:00
2021-12-14 10:53:50 +08:00

Logger

基于Zap整合的日志框架可自由组合输出到Console、File、Loki

Demo

package main

import "gitee.ltd/lxh/logger"

func main() {
	logger.InitLogger(logger.LogConfig{Mode: logger.Dev, LokiEnable: false, FileEnable: true})
	logger.Say.Debug("芜湖")
}
Description
基于Zap整合的日志框架,可自由组合输出到Console、File、Loki
Readme 152 KiB
Languages
Go 100%