Incorporate Debug, Warn, Error logging. (#2490)

This commit is contained in:
Steven Edwards
2025-02-08 14:19:05 -05:00
committed by GitHub
parent 60a499da93
commit 51147d452a

View File

@@ -54,11 +54,11 @@ func (rc *RunContext) commandHandler(ctx context.Context) common.LineHandler {
case "add-path": case "add-path":
rc.addPath(ctx, arg) rc.addPath(ctx, arg)
case "debug": case "debug":
logger.Infof(" \U0001F4AC %s", line) logger.Debugf(" \U0001F4AC %s", line)
case "warning": case "warning":
logger.Infof(" \U0001F6A7 %s", line) logger.Warnf(" \U0001F6A7 %s", line)
case "error": case "error":
logger.Infof(" \U00002757 %s", line) logger.Errorf(" \U00002757 %s", line)
case "add-mask": case "add-mask":
rc.AddMask(arg) rc.AddMask(arg)
logger.Infof(" \U00002699 %s", "***") logger.Infof(" \U00002699 %s", "***")