mirror of
https://github.com/bettercap/bettercap
synced 2025-08-20 21:43:18 -07:00
misc: each module now has its own tagged logging
This commit is contained in:
parent
9003be56ca
commit
9cd4e380fb
47 changed files with 343 additions and 349 deletions
|
@ -3,8 +3,6 @@ package http_proxy
|
|||
import (
|
||||
"net"
|
||||
"sync"
|
||||
|
||||
"github.com/bettercap/bettercap/log"
|
||||
)
|
||||
|
||||
type Host struct {
|
||||
|
@ -27,7 +25,6 @@ func NewHost(name string) *Host {
|
|||
ph.Address = make(net.IP, len(addrs[0]))
|
||||
copy(ph.Address, addrs[0])
|
||||
} else {
|
||||
log.Error("Could not resolve %s: %s", ph.Hostname, err)
|
||||
ph.Address = nil
|
||||
}
|
||||
}(h)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue