Skip to content

Commit 7d9338a

Browse files
committed
Report the message levels on the human logger
Signed-off-by: Matteo Suppo <matteo.suppo@gmail.com>
1 parent bc2c38f commit 7d9338a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/arduino.cc/builder/i18n/i18n.go

+1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ func (s NoopLogger) Name() string {
6161
type HumanLogger struct{}
6262

6363
func (s HumanLogger) Fprintln(w io.Writer, level string, format string, a ...interface{}) {
64+
format = "[" + level + "] " + format
6465
fmt.Fprintln(w, Format(format, a...))
6566
}
6667

0 commit comments

Comments
 (0)