feat; add common.LogExclaim()

This commit is contained in:
Jose Diaz-Gonzalez
2020-07-17 19:46:02 -04:00
parent 0351bf73b0
commit dee879538c

View File

@@ -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)