diff --git a/lib/log.go b/lib/log.go index 99424eb..a67a45a 100644 --- a/lib/log.go +++ b/lib/log.go @@ -16,7 +16,7 @@ func init(){ func LogTimestamp(value bool) { logger.SetFormatter(&logger.TextFormatter{ - DisableTimestamp: value, + DisableTimestamp: !value, }) } // LogHTTP to add information of a httprequest to log