compose
compose copied to clipboard
Use logrus instead of direct output to stderr
What I did
There are two warnings on stderr that --progress json (#11478) still emits as plain text. This is because they are printed there directly, without using logrus or the events framework.
This PR changes these places to use logrus.Warnf(...) instead of fmt.Fprintf(s.stderr(), ...).
Related issue Ref: #11478 (not an issue, but a PR)
@cmrigney @ndeloof you might also be interested in this PR since it avoids more free-form stderr text in case the JSON stream progress writer is used.
@ndeloof any chance of getting this merged anytime soon?
@ndeloof thanks for reviewing and merging!