diff options
author | Wolfy-J <[email protected]> | 2018-10-14 13:07:56 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-10-14 13:07:56 +0300 |
commit | cc4f4a4763f6629219e6f85dcaa3579b3028fc84 (patch) | |
tree | 09a9a356356a69c076b6cc20fb5f48e3bfd196fa /cmd | |
parent | 7f11349b79a54848a23ebb1abedded37fcf583a1 (diff) |
split all warning messages by lines
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/util/debug.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cmd/util/debug.go b/cmd/util/debug.go index ac3eaeca..176b42d3 100644 --- a/cmd/util/debug.go +++ b/cmd/util/debug.go @@ -34,10 +34,7 @@ func LogEvent(logger *logrus.Logger, event int, ctx interface{}) bool { continue } - logger.Warning(Sprintf( - "<yellow>%s</reset>", - strings.Trim(line, "\r\n"), - )) + logger.Warning(Sprintf("<yellow>%s</reset>", strings.Trim(line, "\r\n"))) } return true |