7 Star 24 Fork 30

go-course / go8

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
log.go 366 Bytes
一键复制 编辑 原始数据 按行查看 历史
Mr.Yu 提交于 2022-10-29 15:24 . 补充cmdb
package conf
// LogFormat 日志格式
type LogFormat string
const (
// TextFormat 文本格式
TextFormat = LogFormat("text")
// JSONFormat json格式
JSONFormat = LogFormat("json")
)
// LogTo 日志记录到哪儿
type LogTo string
const (
// ToFile 保存到文件
ToFile = LogTo("file")
// ToStdout 打印到标准输出
ToStdout = LogTo("stdout")
)
Go
1
https://gitee.com/go-course/go8.git
git@gitee.com:go-course/go8.git
go-course
go8
go8
6a8978f41a84

搜索帮助