Skip to content

Consistently print messages to stdout

Marek Szuba requested to merge experimental/consistent_stdout into master

Created by: muffato

As I was writing the documentation of the Runnable API, I realized that Process::say_with_header was printing messages to either stdout or stderr, depending whether the job is standalone or not. I wanted to harmonize that, and ended up fixing up several other modules. My guidelines were:

  • Use say_with_header in Runnables
  • Print to stdout (no STDERR/warn) when the message is just an information (I kept all the "real" warnings as warn)

Merge request reports