From 61ecaf29aa819a2d3af1ec21f5e7fc213b5eef6c Mon Sep 17 00:00:00 2001 From: Patrick Mylund Nielsen Date: Mon, 2 Jul 2018 02:26:17 -0400 Subject: [PATCH] handlers/cli: Show non-string fields appropriately --- handlers/cli/cli.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/cli/cli.go b/handlers/cli/cli.go index 233c58b..10d4858 100644 --- a/handlers/cli/cli.go +++ b/handlers/cli/cli.go @@ -76,7 +76,7 @@ func (h *Handler) HandleLog(e *log.Entry) error { if name == "source" { continue } - fmt.Fprintf(h.Writer, " %s=%s", color.Sprint(name), e.Fields.Get(name)) + fmt.Fprintf(h.Writer, " %s=%v", color.Sprint(name), e.Fields.Get(name)) } fmt.Fprintln(h.Writer)