@ioquatix my first thought is that "info" isn't an error.
@phaedryx stderr is for diagnostics. Do you want to mix up info logger output in your CSV?
@ioquatix what if there weren't a default and you had to explicitly choose:
logger = Logger.new(STDERR)
logger = Logger.new(STDOUT)
@ioquatix This is interesting because it isn't something I think much about. I've searched around and this is a point of contention several places; especially depending on how you define "diagnostic information".
Some links I found:
https://unix.stackexchange.com/questions/331611/do-progress-reports-logging-information-belong-on-stderr-or-stdout
My current thinking is that "standard out" is for the standard (expected/typical) output? It is certainly more nuanced, though, than my initial reaction.
@phaedryx Is it normal output of the program (i.e. results)? Then it belongs on `stdout`. Otherwise it belongs on `stderr`. The original reason for `stderr` is because people used to print documents by piping the output into the printer device. Once the errors started coming out on the printer, apparently a few days later `stderr` was born :p