genofire/hs_monolith
genofire
/
hs_monolith
Archived
1
0
Fork 0

Update log.go

This commit is contained in:
Geno 2017-03-30 15:03:21 +02:00 committed by GitHub
parent 0e2708842e
commit a3e16860c6
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ func init(){
func LogTimestamp(value bool) { func LogTimestamp(value bool) {
logger.SetFormatter(&logger.TextFormatter{ logger.SetFormatter(&logger.TextFormatter{
DisableTimestamp: value, DisableTimestamp: !value,
}) })
} }
// LogHTTP to add information of a httprequest to log // LogHTTP to add information of a httprequest to log