Skip to content

Commit

Permalink
Incorporate Debug, Warn, Error logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenwithav authored Oct 18, 2024
1 parent ccd28e7 commit 5a1e0d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/runner/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ func (rc *RunContext) commandHandler(ctx context.Context) common.LineHandler {
case "add-path":
rc.addPath(ctx, arg)
case "debug":
logger.Infof(" \U0001F4AC %s", line)
logger.Debugf(" \U0001F4AC %s", line)
case "warning":
logger.Infof(" \U0001F6A7 %s", line)
logger.Warnf(" \U0001F6A7 %s", line)
case "error":
logger.Infof(" \U00002757 %s", line)
logger.Errorf(" \U00002757 %s", line)
case "add-mask":
rc.AddMask(arg)
logger.Infof(" \U00002699 %s", "***")
Expand Down

0 comments on commit 5a1e0d9

Please sign in to comment.