From d84d5c60bda2774fe2dc140093e6e2acb6ff26c8 Mon Sep 17 00:00:00 2001 From: lifeiyi <736926938@qq.com> Date: Tue, 5 Jan 2021 14:55:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=BF=97=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- log/log.go | 1 + 1 file changed, 1 insertion(+) diff --git a/log/log.go b/log/log.go index 025b366..40f73f0 100644 --- a/log/log.go +++ b/log/log.go @@ -79,6 +79,7 @@ func New(strLevel string, pathname string, flag int) (*Logger, error) { baseFile = file } else { baseLogger = log.New(os.Stdout, "", flag) + OpenConsole = false } // new logger := new(Logger)