From 4473d46af656978921abb8746b0bfc2a10185af5 Mon Sep 17 00:00:00 2001 From: lion187 Date: Mon, 24 Feb 2025 22:13:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20simplelog.go?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- simplelog.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/simplelog.go b/simplelog.go index df42802..3a19a3b 100644 --- a/simplelog.go +++ b/simplelog.go @@ -39,14 +39,14 @@ const ( ) const ( - Ltime = 1 << iota //print timestamp format as "2006/01/02 15:04:05" + Ltime = 1 << iota //print timestamp format as "2006/01/02 15:04:05.000" Lfile // print file name and line format as file.go:123 Llevel // print log level format as [Trace|Debug|Info...] ) var LevelName [6]string = [6]string{"Trace", "Debug", "Info ", "Warn ", "Error", "Fatal"} -const TimeFormat = "2006/01/02 15:04:05.999" +const TimeFormat = "2006/01/02 15:04:05.000" const maxBufPoolSize = 16