genofire/hs_monolith
genofire
/
hs_monolith
Archived
1
0
Fork 0

Update log.go

This commit is contained in:
Geno 2017-03-30 14:08:34 +02:00 committed by GitHub
parent 646fac221d
commit fd63d91155
1 changed files with 5 additions and 1 deletions

View File

@ -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{