modulepackage
0.3.1
Repository: https://github.com/jsmzr/boot-plugin-logrus.git
Documentation: pkg.go.dev
# README
boot-plugin-logrus
logrus 插件
使用说明
- 拉取依赖,
go get -u github.com/jsmzr/boot-plugin-logurs
- 在
main.go
中引入,import _ "github.com/jsmzr/boot-plugin-logrus"
- 在需要使用的地方引入,
import log "github.com/jsmzr/boot-log"
,并使用log.Info("hello world")
当前暂只支持配置日志等级和格式化,输出固定使用 stdout
boot:
logging:
level: info
format:
timestampFormat: 2006-01-02T15:04:05Z07:00
# Packages
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author