feat; add common.LogExclaim()

This commit is contained in:
Jose Diaz-Gonzalez committed 2020-08-30 13:41:14 -04:00
1 parent 0351bf73b0
commit dee879538c
1 file changed
+5
+5
View File
@@ -76,6 +76,11 @@ func LogWarn(text string) {
fmt.Fprintln(os.Stderr, fmt.Sprintf(" ! %s", text)) 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 // LogStderr is the stderr log formatter
func LogStderr(text string) { func LogStderr(text string) {
fmt.Fprintln(os.Stderr, text) fmt.Fprintln(os.Stderr, text)