mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 21:13:18 -07:00
fix: Print event data, not whole struct
This commit is contained in:
parent
0216ea69f9
commit
183837e216
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ func (mod *EventsStream) Render(output io.Writer, e session.Event) {
|
|||
} else if strings.HasPrefix(e.Tag, "zeroconf.") {
|
||||
mod.viewZeroConfEvent(output, e)
|
||||
} else if !strings.HasPrefix(e.Tag, "tick") && e.Tag != "session.started" && e.Tag != "session.stopped" {
|
||||
fmt.Fprintf(output, "[%s] [%s] %v\n", e.Time.Format(mod.timeFormat), tui.Green(e.Tag), e)
|
||||
fmt.Fprintf(output, "[%s] [%s] %v\n", e.Time.Format(mod.timeFormat), tui.Green(e.Tag), e.Data)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue