Implement result listing from CLI
Change the schema to include ASN and Network Name in the results table
This commit is contained in:
parent
0c5b6aa37c
commit
ecf3370f53
9 changed files with 323 additions and 21 deletions
|
|
@ -68,6 +68,8 @@ func (h *Handler) TypedLog(t string, e *log.Entry) error {
|
|||
fmt.Fprintf(h.Writer, "%.1f%% [%s]: %s", e.Fields.Get("percentage").(float64)*100, e.Fields.Get("key"), e.Message)
|
||||
fmt.Fprintln(h.Writer)
|
||||
return nil
|
||||
case "result_item":
|
||||
return logResultItem(h.Writer, e.Fields)
|
||||
default:
|
||||
return h.DefaultLog(e)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue