refactor: remove slient mode and improve debug level log output

This commit is contained in:
Revincx
2022-10-17 16:40:13 +08:00
parent 3af71513ae
commit 0efabf683f
4 changed files with 7 additions and 22 deletions

View File

@@ -25,7 +25,7 @@ func main() {
log.Debugln("多网卡模式")
interfaces, _ := util.GetInterfaceAddr()
for _, eth := range interfaces {
log.Infoln("网卡: ", eth.Name)
log.Debugln("使用网卡: ", eth.Name)
if err = controllers.Login(eth.Addr); err != nil {
log.Errorln("运行出错,状态异常: ", err)
}