Skip to content

Commit 51147d4

Browse files
Incorporate Debug, Warn, Error logging. (#2490)
1 parent 60a499d commit 51147d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/runner/command.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ func (rc *RunContext) commandHandler(ctx context.Context) common.LineHandler {
5454
case "add-path":
5555
rc.addPath(ctx, arg)
5656
case "debug":
57-
logger.Infof(" \U0001F4AC %s", line)
57+
logger.Debugf(" \U0001F4AC %s", line)
5858
case "warning":
59-
logger.Infof(" \U0001F6A7 %s", line)
59+
logger.Warnf(" \U0001F6A7 %s", line)
6060
case "error":
61-
logger.Infof(" \U00002757 %s", line)
61+
logger.Errorf(" \U00002757 %s", line)
6262
case "add-mask":
6363
rc.AddMask(arg)
6464
logger.Infof(" \U00002699 %s", "***")

0 commit comments

Comments
 (0)