mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 04:59:25 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
0eb34e61fe
commit
aa3f4366a2
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ type dummyLogger struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (l dummyLogger) Printf(format string, v ...interface{}) {
|
func (l dummyLogger) Printf(format string, v ...interface{}) {
|
||||||
l.p.Info("[goproxy.log] %s", str.Trim(fmt.Sprintf(format, v...)))
|
l.p.Debug("[goproxy.log] %s", str.Trim(fmt.Sprintf(format, v...)))
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewHTTPProxy(s *session.Session) *HTTPProxy {
|
func NewHTTPProxy(s *session.Session) *HTTPProxy {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue