소스 검색

log: Change time format

- Keep the tailing zeros.
- Limit precision to milliseconds.
Paweł Bylica 7 년 전
부모
커밋
6d8a1bfb08
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      log/format.go

+ 1 - 1
log/format.go

@@ -15,7 +15,7 @@ import (
 
 const (
 	timeFormat     = "2006-01-02T15:04:05-0700"
-	termTimeFormat = "01-02|15:04:05.999999"
+	termTimeFormat = "01-02|15:04:05.000"
 	floatFormat    = 'f'
 	termMsgJust    = 40
 )