improve: DNS 相关 debug 日志提升为 info

This commit is contained in:
Mmx233
2023-12-01 00:43:22 +08:00
parent 9027267a72
commit b6bc18b7b6

View File

@@ -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
}