github 官网
https://github.com/sirupsen/logrus
代码
package main
/**
依赖网址
https://github.com/Sirupsen/logrus
https://github.com/onrik/logrus
https://github.com/keepeye/logrus-filename
高级实用
https://juejin.im/entry/5a5830c4f265da3e2b16586c
*/
import (
"github.com/onrik/logrus/filename"
"os"
"github.com/onrik/logrus/sentry"
log "github.com/sirupsen/logrus"
)
var logInstance3 = log.New()
func init() {
logInstance3.