Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7d9338a

Browse files
committedJan 19, 2017
Report the message levels on the human logger
Signed-off-by: Matteo Suppo <[email protected]>
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

Lines changed: 1 addition & 0 deletions
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)
Please sign in to comment.