mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 21:13:18 -07:00
fix: added better debug logging for core.Exec (fixes #1125)
This commit is contained in:
parent
97b4dcb46e
commit
5bc9dd9259
3 changed files with 26 additions and 8 deletions
|
@ -17,6 +17,7 @@ import (
|
|||
"github.com/bettercap/bettercap/v2/caplets"
|
||||
"github.com/bettercap/bettercap/v2/core"
|
||||
"github.com/bettercap/bettercap/v2/firewall"
|
||||
my_log "github.com/bettercap/bettercap/v2/log"
|
||||
"github.com/bettercap/bettercap/v2/network"
|
||||
"github.com/bettercap/bettercap/v2/packets"
|
||||
|
||||
|
@ -150,6 +151,7 @@ func New() (*Session, error) {
|
|||
|
||||
if I == nil {
|
||||
I = s
|
||||
my_log.Logger = s.Events.Log
|
||||
}
|
||||
|
||||
return s, nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue