jugglingcats / tachograph-reader

Read driver and vehicle card data and convert to a more usable XML format
81 stars 62 forks source link

Log to stderr #45

Closed diogocp closed 5 years ago

davispuh commented 5 years ago

For me it doesn't really matter if it goes to stdout or stderr. Also it's just a warning. Tell your reasons why this should go to stderr ?

diogocp commented 5 years ago

If you mix output and diagnostic messages in the same stream, it is harder to process the output using another program.

https://www.jstorimer.com/blogs/workingwithcode/7766119-when-to-use-stderr-instead-of-stdout

davispuh commented 5 years ago

Indeed, you're right, never really thought about those points mentioned in article.