From dee879538c8210912ba58d20fce6aa6283ca69de Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Fri, 17 Jul 2020 19:46:02 -0400 Subject: [PATCH] feat; add common.LogExclaim() --- plugins/common/log.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/common/log.go b/plugins/common/log.go index 7aa77b82b..065eceb72 100644 --- a/plugins/common/log.go +++ b/plugins/common/log.go @@ -76,6 +76,11 @@ func LogWarn(text string) { fmt.Fprintln(os.Stderr, fmt.Sprintf(" ! %s", text)) } +// LogExclaim is the log exclaim formatter +func LogExclaim(text string) { + fmt.Println(fmt.Sprintf(" ! %s", text)) +} + // LogStderr is the stderr log formatter func LogStderr(text string) { fmt.Fprintln(os.Stderr, text)