From 769317decca8dad29c3abd20c4b69d3e16a5bfc1 Mon Sep 17 00:00:00 2001 From: n0vad3v Date: Sat, 4 Nov 2023 22:36:53 +0800 Subject: [PATCH] print to log --- config/config.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/config/config.go b/config/config.go index 194f7f8f6..a27c488a8 100644 --- a/config/config.go +++ b/config/config.go @@ -3,7 +3,6 @@ package config import ( "encoding/json" "flag" - "fmt" "os" "regexp" "runtime" @@ -168,9 +167,8 @@ func LoadConfig() { // TODO } - fmt.Println("Config init complete") - fmt.Println("Config", Config) - + log.Debugln("Config init complete") + log.Debugln("Config", Config) } func parseImgMap(imgMap map[string]string) map[string]string {