Update log.go
This commit is contained in:
parent
60d069a170
commit
646fac221d
|
@ -8,7 +8,7 @@ import (
|
||||||
|
|
||||||
Log := log.New()
|
Log := log.New()
|
||||||
|
|
||||||
func DisableTimestamp(value bool) {
|
func LogTimestamp(value bool) {
|
||||||
Log.SetFormatter(&log.TextFormatter{
|
Log.SetFormatter(&log.TextFormatter{
|
||||||
DisableTimestamp: value,
|
DisableTimestamp: value,
|
||||||
})
|
})
|
||||||
|
|
Reference in New Issue