mirror of
https://github.com/bcicen/ctop.git
synced 2025-12-06 15:16:41 +08:00
move logEvent into debug, condense output
This commit is contained in:
9
grid.go
9
grid.go
@@ -151,15 +151,6 @@ func (g *Grid) dumpContainer() {
|
||||
//container.widgets.Reset()
|
||||
//}
|
||||
|
||||
func logEvent(e ui.Event) {
|
||||
var s string
|
||||
s += fmt.Sprintf("Type: %s\n", e.Type)
|
||||
s += fmt.Sprintf("Path: %s\n", e.Path)
|
||||
s += fmt.Sprintf("From: %s\n", e.From)
|
||||
s += fmt.Sprintf("To: %s", e.To)
|
||||
log.Debugf("new event:\n%s", s)
|
||||
}
|
||||
|
||||
func Display(g *Grid) bool {
|
||||
var menu func()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user