Update log.go
This commit is contained in:
parent
fd63d91155
commit
5fec294f81
|
@ -13,7 +13,7 @@ func init(){
|
||||||
}
|
}
|
||||||
|
|
||||||
func LogTimestamp(value bool) {
|
func LogTimestamp(value bool) {
|
||||||
Log.SetFormatter(&log.TextFormatter{
|
log.SetFormatter(&log.TextFormatter{
|
||||||
DisableTimestamp: value,
|
DisableTimestamp: value,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue