newconsolelogger that was only used for the new "os.stdout" log destination was writing to stderr. It is now changed to write to stdout so not every line is interpreted as an error. Also fixed a deprecated ioutil.discard.
The NewConsoleErrorLogger is not currently in use. I would like to redirect stdin to stdout and errin to errout if logging to console.
newconsolelogger that was only used for the new "os.stdout" log destination was writing to stderr. It is now changed to write to stdout so not every line is interpreted as an error. Also fixed a deprecated ioutil.discard. The NewConsoleErrorLogger is not currently in use. I would like to redirect stdin to stdout and errin to errout if logging to console.