From b6bc18b7b6a617e75cbe13e07262d9738f903f32 Mon Sep 17 00:00:00 2001 From: Mmx233 Date: Fri, 1 Dec 2023 00:43:22 +0800 Subject: [PATCH] =?UTF-8?q?improve:=20DNS=20=E7=9B=B8=E5=85=B3=20debug=20?= =?UTF-8?q?=E6=97=A5=E5=BF=97=E6=8F=90=E5=8D=87=E4=B8=BA=20info?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/pkg/dns/dns.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/pkg/dns/dns.go b/internal/pkg/dns/dns.go index 79ad55e..7f1330a 100644 --- a/internal/pkg/dns/dns.go +++ b/internal/pkg/dns/dns.go @@ -10,7 +10,7 @@ import ( ) func Run(c *Config) error { - log.Debugf("开始 %s DDNS 流程", c.Provider) + log.Infof("开始 %s DDNS 流程", c.Provider) if c.TTL == 0 { c.TTL = 600 @@ -49,7 +49,7 @@ func Run(c *Config) error { return err } - log.Debugf("DDNS 配置应用成功: %s | %s", c.Domain, c.IP) + log.Infof("DDNS 配置应用成功: %s | %s", c.Domain, c.IP) return nil }