You don't need to set these options in each file with Logrus. You can import Logrus as log: import log "github.com/Sirupsen/logrus" Then functions like log.
確定! 回上一頁