Update log.go
This commit is contained in:
parent
646fac221d
commit
fd63d91155
|
@ -6,7 +6,11 @@ import (
|
|||
log "github.com/Sirupsen/logrus"
|
||||
)
|
||||
|
||||
Log := log.New()
|
||||
var Log *log.Logger
|
||||
|
||||
func init(){
|
||||
Log = log.New()
|
||||
}
|
||||
|
||||
func LogTimestamp(value bool) {
|
||||
Log.SetFormatter(&log.TextFormatter{
|
||||
|
|
Reference in New Issue