package log import log "github.com/sirupsen/logrus" func Init() { log.SetFormatter(&log.TextFormatter{ DisableColors: true, // FullTimestamp: true, }) log.SetLevel(log.DebugLevel) // log.SetReportCaller(true) // log.SetOutput(os.Stdout) // p := new(service.Service) // log.Warnf("log :%v", p) }