From 718ed33fc4f9e4ba46b0995a0751b17906c87369 Mon Sep 17 00:00:00 2001 From: Guoqiang Chen Date: Sat, 27 May 2017 05:14:35 +0000 Subject: [PATCH] Fixes default time format --- logger.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logger.go b/logger.go index fbe660c..fa92c0a 100644 --- a/logger.go +++ b/logger.go @@ -34,7 +34,7 @@ const ( DEFAULT_FLAGS = F_TIME | F_SHORT_FILE | F_PID // default time format - DEFAULT_TIME_FORMAT = "2006-01-02 15:04:05,000" + DEFAULT_TIME_FORMAT = "2006-01-02 15:04:05.000" ) var (