rspecq icon indicating copy to clipboard operation
rspecq copied to clipboard

Use a proper logger for rspecq-level messages

Open agis opened this issue 4 years ago • 0 comments

Currently we use plain puts inside Worker and Reporter to print various rspecq-level events like errors or warnings. However this mixes the output from that generated by RSpec and makes it hard to differentiate between the two, merely by glancing at the terminal. Ideally we should let RSpec print to stdout (the default) and we should use stderr for diagnostic messages originating from rspecq itself.

We should also use an actual logger and the appropriate levels for such cases, for a more detailed output. Ruby's Logger from stdlib should be sufficient.

agis avatar Aug 04 '20 18:08 agis